Re: transparent proxy - iptables+ squid+2 routers

From: Ken (ng3122_at_ke9nr.#nospam#.net.invalid)
Date: 10/13/05


Date: Wed, 12 Oct 2005 20:54:03 -0700

Hi Igor -

On 12 Oct 2005 09:28:19 -0700, "Igor" <petrenko@gmail.com> wrote:

>I want all traffic coming from local network to go outside via B
>without switching default route to it

With ip route from the iproute2 package you can create routing rules
based on a number of things besides just the destination address. The
source address is one of those things, which sounds like what you
want.

-- 
Ken
http://www.ke9nr.net/


Relevant Pages

  • Re: Multiple internet connections routing.
    ... >> connections end up on the same gateway machine) whenever first ... >> register their addresses as your primary and secondary DNS ... A connection surveillance mechanism, triggering a route switching ... And the route switching script itself. ...
    (comp.os.linux.networking)
  • Re: simple ping; pinging 101
    ... > I'm not sure what's meant by switching the cables. ... either arrakis ... pardon if that wasn't clear. ... >> Why is there no default route?? ...
    (Fedora)
  • Re: Security Guidance - Part II
    ... >>blocking or non-blocking is irrelevant. ... switching packets is switching packets. ... ability to route packets between different subnets. ...
    (comp.security.firewalls)
  • Re: Per-Packet Load Balancing over VPN
    ... switching using route lookup for every single packet. ... per-packet load sharing, there is no reason to disable route cache. ...
    (comp.dcom.sys.cisco)
  • Re: HondaJet: Not A Steam Gage In Sight
    ... As the fix was to burn fuel from the wing tanks before switching to ... the aux tank, it seems possible to have done it en route. ...
    (rec.aviation.piloting)