This is my route rules... ip route add 83.17.20.10/29 dev eth0 table dsl1 ip route add default via 83.17.20.12 dev eth0 table dsl1
ip route add 80.53.64.128/29 dev eth1 table dsl2 ip route add default via 80.53.64.130/29 dev eth1 table dsl2
ip rule add fwmark 0x01 table dsl1 ip rule add fwmark 0x02 table dsl2
iptables -t mangle -A PREROUTING -i eth3 -p tcp -sport 80 -j MARK 0x01
iptables -t mangle -A PREROUTING -i eth3 -p tcp -sport 4000:65535 -j MARK 0x02
... etc.
I must do this on IMQ device (POSTROUTING, AB mode), using whatever (u32 filter, route filter, MARK, CONNMARK, etc.)
Packets are being marked, but some packets on IMQ are being gone on default interface (I'm not marking all traffic...) and I want to catch this packets on suitable classes on IMQ.
How can I do this? :/ Any ideas? Anyone can help?
-- Konrad Cempura /Lenthir/ _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc