From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin A. Brown" Date: Thu, 10 Apr 2003 19:13:13 +0000 Subject: Re: [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hey, Mart: Please do not post HTML messages. This is common etiquette on mailing lists. Thank you. : Using Multiple Connections to the Internet for Inbound and Outbound : Connections and for Outbound traffic Using Multiple Connections to the : Internet and seems i need the second one, and this is almost not : documented, or maybe i just didn't find examples. If you read through the outbound traffic section, and digest it, I imagine that you will see the solution. : >Note, that routing and iptables must be synchronized in order for you to : >attain the desired result. : Synchronized? What You mean? There are two matters you need to have aligned in order to get the desired result: - routing needs to work correctly, "ip rule" and "ip route" will do this for you - iptables needs to masquerade/SNAT the IPs to the correct IP addresses These two have to be synchronized....I'm using the word in its dictionary definition, not as jargon. : Do i need to use MARK in iptables rules? No. You should not need this. : And can i use iptables route patch : http://www.netfilter.org/documentation/pomlist/pom-extra.html#ROUTE ?. I don't know this patch-o-matic, but I don't believe you will need this. -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/