Linux Centos7 防火墙

CentOS 7.0配置静态IP


Linux Centos7 防火墙_第1张图片
 

重启服务 service network restart

关闭防火墙

查看防火墙状态

firewall-cmd --state
#启动firewall
systemctl start firewalld.service

#停止firewall
systemctl stop firewalld.service

#禁止firewall开机启动
systemctl disable firewalld.service

改成iptables
systemctl start iptables.service

你可能感兴趣的:(CentOS7,firewall)