【发布时间】:2012-01-04 13:25:48
【问题描述】:
我想删除下面的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
有什么问题吗?
【问题讨论】:
标签: iptables