美文网首页
【2019-10-11】【linux命令】关闭防火墙

【2019-10-11】【linux命令】关闭防火墙

作者: 质检员晓东 | 来源:发表于2019-10-11 17:27 被阅读0次

CentOS7使用firewalld打开关闭防火墙与端口

启动: systemctl start firewalld

关闭: systemctl stop firewalld

查看状态: systemctl status firewalld

开机禁用  : systemctl disable firewalld

开机启用  : systemctl enable firewalld

CentOS6关闭防火墙与端口

立即关闭,并非永久关闭:service iptables stop

永久关闭:iptables -F  #关闭防火墙功能

chkconfig iptables off #禁止防火墙启动

相关文章

网友评论

      本文标题:【2019-10-11】【linux命令】关闭防火墙

      本文链接:https://www.haomeiwen.com/subject/shdxmctx.html