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