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

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

池边树下3周前 (10-17)尘凡2200
最近配置了防火墙端口,用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.conf
 
找到
IndividualCalls=no#把no改为yes
 
按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)” 的相关文章

kvm环境快速安装5年前 (2021-04-21)
btrfs格式数据提取5年前 (2021-04-21)
有趣的“利器”5年前 (2021-05-10)
安装Firewalld异常处理4年前 (2021-06-18)
红旗11系统下载4年前 (2021-07-09)
go语言优秀的框架4年前 (2021-07-19)

发表评论

访客

看不清,换一张

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