1.设置firewall开机启动systemctl enable firewalld2.禁止firewall开机启动systemctl disable firewalld3.开启防火墙systemctl start firewalld4.关闭防火墙systemctl stop firewalld