CentOS8關於防火牆的命令

獵手家園發表於2021-11-22

1、啟動防火牆

systemctl status firewalld.service

 

2、關閉防火牆

systemctl stop firewalld.service

 

3、檢視防火牆命令

systemctl status firewalld.service

 

4、開機啟動

systemctl enable firewalld.service

 

5、禁止隨機啟動

systemctl disable firewalld.service

 

相關文章