我想删除下面的POSTROUTING规则,
[root@hostname ~]# service iptables status
Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE all -- 192.168.1.0/24 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination 然后我在下面输入,
[root@hostname ~]# iptables -D POSTROUTING 1
iptables: No chain/target/match by that name有什么问题吗?
发布于 2011-11-23 16:26:00
尝试显式添加表名:
iptables -t nat -D POSTROUTING 1https://stackoverflow.com/questions/8239047
复制相似问题