[BUG] ipt_SAME rule can't be deleted

Fang Han fanghan at opencjk.org
Sat Dec 4 16:02:23 CET 2004


Kernel 2.6.9 ac2

Using the next test command:

/sbin/iptables  -t nat -I POSTROUTING -s 192.168.100.23 -o eth0 -j SAME --to 192.168.1.60
/sbin/iptables  -t nat -D POSTROUTING -s 192.168.100.23 -o eth0 -j SAME --to 192.168.1.60

generate error:
iptables: Bad rule (does a matching rule exist in that chain?)

But I can use iptables -t nat -D POSTROUTING 1 to delete this rules




More information about the netfilter-devel mailing list