共計 730 個字符,預計需要花費 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 錯誤怎么解決”這篇文章的內容,相信大家都有了一定的了解,希望丸趣 TV 小編分享的內容對大家有幫助,若想了解更多相關的知識內容,請關注丸趣 TV 行業資訊頻道。
正文完