moaiwa

服务器重启后防火墙会自动开启,需要把防火墙关闭

以下为对防火墙进行的相关操作

  • 查看防火墙状态

  systemctl status firewalld

  service iptables status

  • 暂时关闭防火墙

  systemctl stop firewalld

  service iptables stop

  • 永久关闭防火墙

systemctl distable firewalld

chkconfig iptables off

  • 重启防火墙

systemctl enable firewalld

service iptables restart

  • 永久关闭后重启

chkconfig iptables on

分类:

技术点:

相关文章:

  • 2021-11-18
  • 2021-11-18
  • 2021-12-01
  • 2021-12-05
  • 2021-11-18
  • 2021-12-27
  • 2021-11-18
  • 2021-11-28
猜你喜欢
  • 2021-12-13
  • 2021-10-29
  • 2021-11-18
  • 2021-12-07
  • 2021-12-10
  • 2021-07-03
  • 2021-11-18
  • 2021-11-10
相关资源
相似解决方案