# 查看防火墙状态
firewall-cmd --state
systemctl status firewalld
systemctl status firewalld.service
#敞开防火墙
systemctl stop firewalld.service
#禁止防火墙开启启动
systemctl disable firewalld.service
查看服务是否开机启动
systemctl is-enabled firewalld.service
# 查看防火墙状态
firewall-cmd --state
systemctl status firewalld
systemctl status firewalld.service
#敞开防火墙
systemctl stop firewalld.service
#禁止防火墙开启启动
systemctl disable firewalld.service
查看服务是否开机启动
systemctl is-enabled firewalld.service