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