共計 746 個字符,預計需要花費 2 分鐘才能閱讀完成。
這篇文章主要講解了“debian 安裝 firewalld 錯誤如何解決”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著丸趣 TV 小編的思路慢慢深入,一起來研究和學習“debian 安裝 firewalld 錯誤如何解決”吧!
debian 或 ubuntu 安裝 firewalld
apt remove --purge ufw
apt install firewalld -y
systemctl daemon-reload
systemctl restart firewalld
systemctl enable firewalld
添加端口時會出現以下錯誤,
COMMAND_FAILED: /usr/sbin/tables-restore -w -n failed: tables-restore v1.8.2 (nf_tables): line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUT
把 /etc/firewalld/firewalld.conf 文件中的 IndividualCalls=no 改成 IndividualCalls=yes
sed -i s/IndividualCalls=no/IndividualCalls=yes/g /etc/firewalld/firewalld.conf
重啟就可以了
systemctl restart firewalld
感謝各位的閱讀,以上就是“debian 安裝 firewalld 錯誤如何解決”的內容了,經過本文的學習后,相信大家對 debian 安裝 firewalld 錯誤如何解決這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是丸趣 TV,丸趣 TV 小編將為大家推送更多相關知識點的文章,歡迎關注!
正文完