查看服务器防火墙 状态
# firewall-cmd --state
centos7启动防火墙
# systemctl start firewalld.service
#设置开机启用防火墙
systemctl enable firewalld.service
查看服务器防火墙 状态
# firewall-cmd --state
centos7启动防火墙
# systemctl start firewalld.service
#设置开机启用防火墙
systemctl enable firewalld.service