From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Sun, 29 May 2005 16:29:15 +0000 Subject: Re: [LARTC] Routing for multiple uplinks and SNAT to 2 source IPs Message-Id: <4299EDDB.CA849461@iswest.com> List-Id: References: <2accc2ff050528172293d5751@mail.gmail.com> In-Reply-To: <2accc2ff050528172293d5751@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Nelson Castillo wrote: > > Hi, > > I configured a router box to use 2 providers, as described > in the HOWTO. (Apendix 1) > > I want to use both links to reach a single smtp server. As I read > in the kptd and in some old messages of this list, doing a SNAT > in the postrouting chain comes _after_ the routing desision. > So I guess the following lines I'm trying to use are wrong. > (See Apendix 1) > > What can I do to have multiple connection to the same IP to > use both links? You should google "policy based routing Linux" and "port based routing Linux" http://linux-ip.net/html/ch-routing.html http://snafu.freedom.org/linux2.2/docs/advanced-routing/ I know nothing of squid, but previous posts here indicate that it may be useful to you. -- Gypsy _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc