启动
systemctl start firewalld
关闭
systemctl stop firewalld
重启
systemctl restart firewalld
开机启动
systemctl enable firewalld
取消开机启动
systemctl disable firewalld
查看是否永久关闭或永久开启
systemctl is-enabled firewalld
查看防火墙服务是否关闭
syatemctl is-active firewalld
selinux:可以限制root用户操作行为
临时关闭: setenforce 0
0代表让selinux失效
1代表开启
验证:getenforce
永久关闭
/etc/selinux/config