centos7如何关闭防火墙
1.centos7自带了firewall,而不是iptables:
关闭firewall:
service firewalld stop
或者:
systemctl stop firewalld
禁止firewall:
systemctl mask firewalld
下面是替换成iptables操作:
yum -y install iptables-services
开机启动:
systemctl enable iptables
启动iptables:
systemctl start iptables
that\’it…
版权声明:本文为garfieldcgf原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。