second routing decision--when?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'd like to mark locally generated packets in the OUTPUT chain and do
policy based routing (selecting one of two default gateways) based on
the mark value.

But when the packet hits the OUTPUT chain (in 'mangle' table), the
routing decision seems to be already made.  AFAIK, locally generated
packets do not pass the PREROUTING chain (so trying to mark them there
wouldn't help me either).

Any ideas?

Sorry, haven't found this in the archive. :-)

Thanks in advance,

-- 
Egon Eckert, Prague, Czech rep.
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux