首页 新闻 会员 周边

iptables 配置报错:iptables: Bad policy name. Run `dmesg' for more information

0
悬赏园豆:5 [已关闭问题] 关闭于 2016-05-30 12:11
iptables 配置报错:iptables: Bad policy name. Run `dmesg' for more information
[root@nat ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state ESTABLISHED
ACCEPT     tcp  --  172.16.0.0/16        0.0.0.0/0           tcp dpt:8000 state NEW 
REJECT     icmp --  172.16.0.0/16        0.0.0.0/0           reject-with icmp-port-unreachable 
ACCEPT     tcp  --  172.16.0.0/16        0.0.0.0/0           tcp dpt:80 state NEW 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  

更改默认策略报错???
[root@nat ~]# iptables -P FORWARD ACCERT
iptables: Bad policy name. Run `dmesg' for more information.

 

 
Free-Wiki的主页 Free-Wiki | 菜鸟二级 | 园豆:205
提问于:2016-05-29 13:41
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册