1. 程式人生 > >Centos7上防火牆的命令操作

Centos7上防火牆的命令操作

1.查詢防火牆狀態:firewall-cmd --state

2.開啟防火牆: systemctl start firewalld.service

3.關閉防火牆:systemctl stop firewalld.service

4.禁止firewall開機啟動:systemctl disable firewalld.service