add input interface in rule because this table general for all interfaces also add ip if possible iptables -t mangle -A PREROUTING -i $DEV -p tcp --dport 25 -j MARK --set-mark 1 if don't work try iptables -t mangle -A FORWARD -i $DEV -p tcp --dport 25 -j MARK --set-mark 1 (don't work for old iptables and kernel, missing FORWARD and INPUT chain for mangle table) if you compile netfilter as modules -- all necessary loaded ? if don't work try to test mark with tc filter try to use last iproute2-2.4.7-020116 (possible that the ip route can't see your marks and last htb-3.6 (Thanks Devik !) Send me results !! (Sorry for my pure English :(( ) 31.05.2002 19:45:33, Sellaro <sellaro@email.it> wrote: >On Fri, 2002-05-31 at 11:33, Alexey Talikov wrote: > >> Version of kernel iptables and iproute , any patches ??? > >Sorry for not mentioning before. > >kernel: 2.4.18 >iproute: 20010824-7 >Patches: only HTB 3 into the kernel, of course. > >-- >Sellaro > >Agente Livre - Linux Community (www.agentelivre.org) > >PGP Key ID: 3ADF8645 >PGP Key Fingerprint: 6AB0 D60B 69B5 B3F9 4553 2242 A1D0 17C0 3ADF 8645 > ----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK ----------------------------------- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/