1、查看防火墙状态
systemctl status firewalld.service
active (running) 就代表着防火墙在运行
2、执行关闭命令
systemctl stop firewalld.service
inactive (dead) 代表防火墙已经关闭
3、防火墙的开启命令
systemctl start firewalld.service
防火墙随机开启
systemctl enable firewalld.service
4、永久关闭防火墙命令
systemctl disable firewalld.service