1. 程式人生 > >linux 查看防火墻狀態

linux 查看防火墻狀態

查看 關閉防火墻 sys inux emctl firewalld 系統啟動 mct sta

1.查看防火墻狀態

systemctl status firewalld

2.查看防火墻是否開機啟動

systemctl is-enabled firewalld

3.關閉防火墻

systemctl stop firewalld

systemctl status firewalld

4.禁用防火墻(系統啟動時不啟動防火墻服務)

systemctl disable firewalld

systemctl is-enabled firewalld

linux 查看防火墻狀態