Centos 7 关闭防火墙

2018-08-03 08:44 Centos 7 关闭防火墙已关闭评论

Centos 7下默认防火墙不再是iptables,而是采用firewalld。

 

iptables防火墙关闭及禁用开机启动命令:

service iptables stop
chkconfig iptables off

 

firewalld防火墙关闭及禁用开机启动命令:

systemctl stop firewalld
systemctl disable firewalld

 

示例:

Centos 7下关闭及禁用开机启动,运行命令及返回如下图所示。

image

版权声明:本文著作权归原作者所有,欢迎分享,谢谢支持!
转载请保留注明:Centos 7 关闭防火墙 | DPIP知识库
分类:Centos 标签:

评论已关闭!