Linux關閉防火牆命令


關閉防火牆命令:systemctl stop firewalld.service

開啟防火牆:systemctl start firewalld.service

關閉開機自啟動:systemctl disable firewalld.service

開啟開機啟動:systemctl enable firewalld.service

 

1. 永久性生效

開啟:chkconfig iptables on

關閉:chkconfig iptables off

2. 即時生效,重啟后失效

開啟:service iptables start

關閉:service iptables stop


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM