0
我正在尝试配置NRPE 3.2.0
,它使用端口5666
来运行远程脚本。RHEL 7.2中的防火墙错误:“无链/目标/匹配该名称。”
当我尝试执行下面的命令时,出现此错误。
firewall-cmd --zone=public --add-port=5666/tcp
Error: COMMAND_FAILED: '/sbin/iptables -w2 -A IN_public_allow -t filter -m tcp -p tcp --dport 5666 -m conntrack --ctstate NEW -j ACCEPT' failed: iptables: No chain/target/match by that name.
Failed to apply rules. A firewall reload might solve the issue if the firewall has been modified using ip*tables or ebtables.
我明白,我想追加不存在,但环比我不会有什么这条产业链是什么或如何创建它头绪。
必须尝试重新加载防火墙吗? 'firewall-cmd --reload' –
它的工作!谢谢:) –
@SergioLaRosa你能写你的评论作为答案?我会接受它 –