Unfortunately, not that easy. Look at ipt_ROUTE (from netfilter) to do it. -alex On Thu, 29 Apr 2004, Egon Eckert wrote: > 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, > > _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/