這篇“debian安裝firewalld錯誤怎么解決”文章的知識點大部分人都不太理解,所以小編給大家總結了以下內容,內容詳細,步驟清晰,具有一定的借鑒價值,希望大家閱讀完這篇文章能有所收獲,下面我們一起來看看這篇“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錯誤怎么解決”這篇文章的內容,相信大家都有了一定的了解,希望小編分享的內容對大家有幫助,若想了解更多相關的知識內容,請關注億速云行業資訊頻道。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。