- 报错:
iptables: Applying firewall rules: iptables-restore v1.4.7: Couldn't load target `Accept':/lib64/xtables/libipt_Accept.so: cannot open shared object file: No such file or directory
Error occurred at line: 13
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]
解决:
解决办法:
[root@localhost~]#iptables -N RH-Firewall-1-INPUT
[root@localhost~]# service iptables save
service iptables status 查看防火墙状态
service iptables start 开启防火墙
service iptables stop 关闭防火墙
service iptables restart 重启