当前位置:首页 > 尘凡 > 正文内容

ERROR: ‘/usr/sbin/iptables-restore -w -n‘ failed: iptables-restore v1.8.2 (nf_tables)

池边树下5小时前尘凡170
最近配置了防火墙端口,用firewall-cmd --reload操作无效
始终报如下的错误
ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.2 (nf_tables): line 4: RULE_REPLACE failed (No such file or directory): rule in chain INPUT line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUTpowershell123
解决方法
vim /etc/firewalld/firewalld.confpowershell1
找到
IndividualCalls=no#把no改为yespowershell12
按esc,输入:wq保存退出
然后重启firewalld服务
0
systemctl restart firewalld.servicepowershell1
重启之后即可正常执行firewall-cmd --reload
 

扫描二维码推送至手机访问。

版权声明:本文由满纸空言发布,如需转载请注明出处。

本文链接:https://mzky.cc/post/169.html

分享给朋友:
返回列表

上一篇:WSL下openEuler的一些配置

没有最新的文章了...

“ERROR: ‘/usr/sbin/iptables-restore -w -n‘ failed: iptables-restore v1.8.2 (nf_tables)” 的相关文章

btrfs格式数据提取5年前 (2021-04-21)
uos编译njmon4年前 (2021-07-21)
UOS编译keepalived4年前 (2021-08-06)
linux ip命令详解4年前 (2021-08-30)
锻炼算法4年前 (2021-09-01)
Go简洁方法错误处理4年前 (2021-09-07)

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。