centos7 有关防火墙命令CentOS7 查看防火墙状态:systemctl status firewalld systemctl stop firewalld #临时关闭防火墙(重启后失效) systemctl start firewalld #开启防火墙 systemctl disable firewalld.service #禁止防火请开机自启动 systemctl restart firewall #重启防火墙更新于: 17/11/2022