Iptables 报错Couldn't load target `ACCET':/lib64/xtables/libipt_ACCET.so: cannot open shared object file

时间:2022-07-28 16:14:47

[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规则写错了

Iptables 报错Couldn't load target `ACCET':/lib64/xtables/libipt_ACCET.so: cannot open shared object file

改成accept