1. 程式人生 > >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

大寫 obj direct 規則 lib not blog acc get

語句: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