[svc]线上Iptables重启报错

时间:2021-12-07 13:52:25

线上iptables重启了下发现报错,排查了下

[root@xxxx ~]# /etc/init.d/iptables restart

iptables: Setting chains to policy ACCEPT: filter nat [ OK ]

iptables: Flushing firewall rules: [ OK ]

iptables: Unloading modules: [ OK ]

iptables: Applying firewall rules: iptables-restore v1.4.7: Couldn't load target `ACCET':/lib64/xtables/libipt_ACCET.so: cannot open shared object file: No such file or directory

Error occurred at line: 27

Try `iptables-restore -h' or 'iptables-restore --help' for more information.

原来是iptables规则写错了

[svc]线上Iptables重启报错

改成accept即可解决