[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 -o eth0 -j SAME --to
/sbin/iptables  -t nat -D POSTROUTING -s -o eth0 -j SAME --to

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