iptables 报错!iptables-restore: unable to initialize table 'filter
报错详情:
root@localhost ~]# service iptables restart
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
'ptables: Applying firewall rules: iptables-restore v1.4.7: iptables-restore: unable to initialize table 'filter
Error occurred at line: 3
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]
初始化iptables下
iptables -F
service iptables save
service iptables restart
就可以了!加入规则