iptables执行时报错"iptables : Couldn't load target `standard':No such file or directory"

Posted dakewei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iptables执行时报错"iptables : Couldn't load target `standard':No such file or directory"相关的知识,希望对你有一定的参考价值。

答:重装iptables

  1. 查看库
# dpkg -L iptables | fgrep standard
/usr/lib/x86_64-linux-gnu/xtables/libxt_standard.so
  1. 重装iptables
# apt install --reinstall -y iptables

以上是关于iptables执行时报错"iptables : Couldn't load target `standard':No such file or directory"的主要内容,如果未能解决你的问题,请参考以下文章

centos7启动iptables时报Job for iptables.service failed because the control process exited with error cod

关闭防火墙报错

Unit iptables.service could not be found

centos7执行" service iptables save"错误提示

docker0: iptables: No chain/target/match by that name错误处理

求教,如何在PHP上执行iptables的命令