xiufengchen

CentOS 7.0默认使用的是firewall作为防火墙;若没有启用iptables 作为防火墙,则使用以下方式关闭防火墙:

systemctl stop firewalld.service

关闭开机启动防火墙:

systemctl disable firewalld.service

查看查状态

firewall-cmd --state

若已经启用iptables作为防火墙,则使用以下方式关闭:

service iptables stop  #临时关闭防火墙
chkconfig iptables off #永久关闭防火墙

 

分类:

技术点:

相关文章:

  • 2021-11-29
猜你喜欢
  • 2021-08-04
  • 2021-12-03
  • 2021-12-03
  • 2021-12-03
  • 2021-12-03
  • 2021-08-04
相关资源
相似解决方案