* [LARTC] Routing based on source port @ 2002-04-19 7:09 Daniel Ahlberg 2002-04-19 8:44 ` bert hubert 0 siblings, 1 reply; 2+ messages in thread From: Daniel Ahlberg @ 2002-04-19 7:09 UTC (permalink / raw) To: lartc 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? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Routing based on source port 2002-04-19 7:09 [LARTC] Routing based on source port Daniel Ahlberg @ 2002-04-19 8:44 ` bert hubert 0 siblings, 0 replies; 2+ messages in thread From: bert hubert @ 2002-04-19 8:44 UTC (permalink / raw) To: lartc 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/ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-19 8:44 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-04-19 7:09 [LARTC] Routing based on source port Daniel Ahlberg 2002-04-19 8:44 ` bert hubert
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.