From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Simon Garner" Subject: Re: NAT with two Internet links Date: Thu, 16 Oct 2003 20:45:37 +1300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <01d101c393b9$a8e3f390$0301a8c0@SIMON> References: <01b801c393b0$3c837080$0301a8c0@SIMON> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org On Thursday, October 16, 2003 7:37 PM [GMT+1200=NZT], Simon Garner wrote: > Hi, > > I have a small network with several Windows client PCs, a Linux > firewall/server, and two links to the Internet. What I want to do is > have certain traffic (based on source and/or destination ports) routed > through one link while everything else goes through the other. > Nevermind, after a bit more googling I found the answer myself. The solution is to mark the wanted packets with iptables and then route them with iproute2, as per: http://www.lartc.org/howto/lartc.netfilter.html -Simon