route marking pzckets in the mangle FORWARD table

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

 



Good Day .....
I have a question regarding marked packets in the FORWARD mangle
table.......


suppose i have .......

iptables -A FORWARD -t mangle -i eth1 -p tcp --dport 1863 -j MARK --set-mark
0x1

then if i do :
ip ru add fwmark 0x1 table 1
ip ro add default via w.x.y.z table 1
and my default gw is a.b.c.d ..... packets will continue to go through
a.b.c.d .....
it seems that only routing decisions  takes place only in PREROUTING mangle
table for marked packets ......


Regards !!!!!
__________________________________________________________________ Faysal
Banna ICQ#: 213953617 Current ICQ status: + More ways to contact me Get ICQ!
__________________________________________________________________



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux