centos 7 防火墙设置端口
centos7 默认是使用firewalld作为防火墙systemctl start firewalld //开启服务 systemctl stop firewalld //关闭防火墙 systemctl enable firewalld//开机自启动 systemctl disable firewalld //关闭开机自启动 使用firewall-cmd进行管理firewall-cmd --st
centos7 默认是使用firewalld作为防火墙systemctl start firewalld //开启服务 systemctl stop firewalld //关闭防火墙 systemctl enable firewalld//开机自启动 systemctl disable firewalld //关闭开机自启动 使用firewall-cmd进行管理firewall-cmd --st