centos6和centos7 下关闭防火墙

CentOS6关闭防火墙使用以下命令

  • 关闭、启动、状态
  • service iptables stop|start|status
  • 禁止开机启动
  • chkconfig iptables off

CentOS7关闭防火墙使用以下命令

  • 关闭、启动、状态
  • systemctl stop|start|status firewalld
  • 禁止开机启动
  • systemctl disable firewalld

猜你喜欢

转载自blog.csdn.net/qq_33029793/article/details/92797976
今日推荐