Linux 7 關閉、禁用防火牆服務


1 查看防火牆狀態

[root@lvxinghao ~]# systemctl status firewalld



2 查看開機是否啟動防火牆服務
[root@lvxinghao ~]# systemctl is-enabled firewalld



3 關閉防火牆
[root@lvxinghao ~]# systemctl stop firewalld
[root@lvxinghao ~]# systemctl status firewalld


4 禁用防火牆(系統啟動時不啟動防火牆服務)
[root@lvxinghao ~]# systemctl disable firewalld
[root@lvxinghao ~]# systemctl is-enabled firewalld


免責聲明!

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



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