[LARTC] routing decision based on sorce port

Sebastian Heidl s.heidl at teles.de
Mon Jan 9 10:01:37 CET 2006


On Sun, 2006-01-08 at 03:04 +0300, Denis Ovsienko wrote:
> There is a small, but important issue with outgoing packets policy
> routing. Locally originating packets don't hit PREROUTING chain of
> mangle table
> (http://www.faqs.org/docs/iptables/traversingoftables.html), so you
> generally can't policy route such traffic.

Hmm, according to a newer version of the iptables tutorial
(http://iptables-tutorial.frozentux.net/iptables-tutorial.html) there is
another routing decision after the packets traverse the OUTPUT chain of
the mangle table. So at least marking the pakets should be possible I
think.

_sh_




More information about the LARTC mailing list