Re: [LARTC] Content based Routing
On Thursday, 12 September 2002, at 23:07:46 +0800, Andrew J. Barbara wrote: > Just a quick question... > Is there a way to do content based routing (i.e. routing based on a TCP > or UDP port) without using iptables, i.e. using the ip command? > It doesn't seem to be possible with just "ip", as neither "ip rule" nor "ip route" have "selectors" for transport-level port. But you have ipchains/iptables to mark packets and "ip" to route them based on the mark put on them. -- Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Woody (Linux 2.4.19-pre6aa1) ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Content based Routing
Nope. You can use ipchains/iptables to fwmark a packet and then route based on fwmark (which needs to be supported by your kernel). -Martin : Just a quick question... : Is there a way to do content based routing (i.e. routing based on a TCP : or UDP port) without using iptables, i.e. using the ip command? : : Thanks : Andrew : ___ : LARTC mailing list / [EMAIL PROTECTED] : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ : -- Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED] ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] Content based Routing
Just a quick question... Is there a way to do content based routing (i.e. routing based on a TCP or UDP port) without using iptables, i.e. using the ip command? Thanks Andrew ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/