首页 > 代码库 > iptables报错:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory

iptables报错:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory

语句:iptables -A INPUT -s 134.192.204.235 -p TCP --dport 11211 -j accept

报错:Couldn‘t load target `accept‘:/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory

原因:规则语句写错accept应大写ACCEPT

 

参考:http://www.cnblogs.com/iiiiher/p/5996395.html

iptables报错:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory