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你能寫你的評論作爲答案?我會接受它 –