查看防火墙的状态
systemctl status firewalld.service
running为启动
关闭防火墙
systemctl stop firewalld.service
防止防火墙自启动
systemctl disable firewalld.service
启动防火墙
systemctl start firewalld.service
l start firewalld.service
查看防火墙的状态
systemctl status firewalld.service
running为启动
关闭防火墙
systemctl stop firewalld.service
防止防火墙自启动
systemctl disable firewalld.service
启动防火墙
systemctl start firewalld.service
l start firewalld.service