#查看防火墙状态
firewall-cmd --state

systemctl status firewalld

systemctl status firewalld.service

#关闭防火墙
systemctl stop firewalld.service

#禁止防火墙开启启动
systemctl disable firewalld.service

查看服务是否开机启动
systemctl is-enabled firewalld.service

阿亮说技术
4 声望3 粉丝

程序人生,一路踩坑,一路填坑