Table NAT and MANGLE
Gervasio Bernal
gervasiobernal at speedy.com.ar
Thu Mar 2 21:29:08 CET 2006
Hi all!!
Suppose I have this 2 rules, one in mangle and the other one in NAT table:
#iptables -t mangle -A POSTROUTING -o eth0 -j TTL --ttl-set 64
#iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
So, every time a packet goes out through eth0 first it sets the TTL to
64 and then do the masquerade. Is there any way to do this but in
opposite order? First masquerade and the TTL.
Maybe this example is not very clear, but I'm developing a module that
needs to match a packet after masquerade.
Thanks.
More information about the netfilter-devel
mailing list