centos8禁用防火牆

2021-10-10 09:44:58 字數 844 閱讀 3325

輸入:systemctl status firewalld.service檢視防火牆狀態

框中(active(running))顯示防火牆處於啟用狀態

輸入:systemctl stop firewalld.service執行停止執行防火牆命令

輸入:systemctl status firewalld.service

框中(inactive(dead))防火牆程序處於未啟用狀態,停止服務成功

禁止防火牆自啟動:「systemctl disable firewalld.service」

防火牆的開啟和自啟動命令:

1、啟動:systemctl start firewalld.service

2、防火牆隨系統開啟啟動  : systemctl enable firewalld.service

centos8防火牆配置

1 安裝 yum install iptables services 安裝iptables 2 systemctl使用 systemctl unmask firewalld 執行命令,即可實現取消服務的鎖定 systemctl mask firewalld 下次需要鎖定該服務時執行 systemct...

CentOS8防火牆配置

1.檢視防火牆 firewalld 服務的狀態 systemctl status firewalld firewalld.service firewalld dynamic firewall daemon loaded loaded usr lib systemd system firewalld....

centos8 防火牆常用操作

檢視防火牆狀態 方法1 firewall cmd state 方法2 systemctl status firewalld停止防火牆 systemctl stop firewalld開啟防火牆 systemctl start firewalld設定防火牆開機啟動 systemctl enable f...