From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert Date: Fri, 19 Apr 2002 08:44:53 +0000 Subject: Re: [LARTC] Routing based on source port 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 On Fri, Apr 19, 2002 at 09:09:35AM +0200, Daniel Ahlberg wrote: > Hello, > > I have two ISPs connected to my router. Using "ip rule" I can easily divert > traffic to the diffrent uplinks. However, "ip rule" only seems to be able to > send packets according to their source or destination adress. What I want is > to be able to route based on protocol and source port. Is this possible, and > how? I think ip rule has a syntax for that; if it doesn't, use iptables or ipchains to attach a mark to packets with certain source or destination port and create a rule that works on that mark. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/