CentOS 防火墙常用命令 Linux操作系统(CentOS) 防火墙相关命令 1.查看防火墙状态: firewall-cmd --state 2.启动防火墙 systemctl start firewalld 3.关闭防火墙 systemctl stop firewalld