CentOS7 查看、關閉防火牆操作

分享知識  傳遞快樂

 

查看防火牆狀態

[root@contos7 tmp]# firewall-cmd --state

停止firewall

[root@contos7 tmp]# systemctl stop firewalld.service

禁止firewall開機啓動

[root@contos7 tmp]# systemctl disable firewalld.service

 

 

 

 

 

 

—————————
如有不足請留言指正
相互學習,共同進步

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章