天天看點

linux關閉防火牆并設定開機開不啟動

2.2  關閉防火牆并設定開機開不啟動

檢視目前狀态

[[email protected] ~]# systemctl status firewalld.service    #檢視firewalld狀态

[[email protected] ~]# systemctl stop firewalld       #關閉

[[email protected] ~]# systemctl start firewalld       #開啟

[[email protected] ~]# systemctl disable firewalld     #開機自動關閉   //RHLE7

[[email protected] ~]# chkconfig --list|grep network    #檢視開機是否啟動   //RHLE6

[[email protected] ~]# systemctl enable firewalld     #

繼續閱讀