search for: if_out

Displaying 1 result from an estimated 1 matches for "if_out".

Did you mean: f_out
2006 May 23
0
Netfilter/Iptables does not NAT all packets?
Hi all, I am having a small problem with netfilter on Linux kernel 2.6.11.4. It seems not all packets are hitting the pre-routing chain. In pre-routing, I have the following rules: $IPTABLES -t nat -A PREROUTING -i $IF_OUT -d 10.50.18.22 -j DNAT --to-destination 192.168.1.22 $IPTABLES -t nat -A PREROUTING -i $IF_OUT -d ! 10.50.18.21 -m limit --limit 5/second -j LOG --log-prefix "non-nat input: " As you can see all packets arriving for 10.50.18.22 should be natted to 192.168.1.22, and anything else shoul...