打开防火墙:systemctl start firewalld.service 关闭防火墙: systemctl stop firewalld.service 禁止防火墙开机自启动: systemctl disable firewalld.service 设置防火墙开机自启动: systemctl enable firewalld.service 查看防火墙状态: systemctl status firewalld.service