From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Schulz Date: Mon, 20 Feb 2006 13:47:06 +0000 Subject: Re: [LARTC] question about traffic control Message-Id: <200602201447.07381.msc@antzsystem.de> List-Id: References: <43F9BC0B.5020606@info.nl> In-Reply-To: <43F9BC0B.5020606@info.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Monday 20 February 2006 13:54, Michiel van Es wrote: > Hi, > I have the following situation: > 1 gateway box with 2 WAN interfaces (eth1 and eth2). > 1 LAN interface eth0 > default gateway is eth2 > I want to route all traffic with destination protocol tcp 22 (ssh) > NOT over the default gateway eth2 but force them to find it's route > over eth1. All other traffic must go the normal way over eth2. > > Is this possible with tc or an other tool? yes with iproute and little help from iptables for selecting which packets to route differently. look at http://www.linuxguruz.com/iptables/howto/2.4routing-11.html and please, don't send html mails to mailing lists. Markus Schulz _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc