Centos8关闭防火墙

  • systemctl status firewalld.service(查看防火墙状态)Centos8关闭防火墙_第1张图片

        active表示当前防火墙处于开启状态  inactive表示关闭状态

  • systemctl stop firewalld.service (关闭防火墙)
  • systemctl start firewalld.service (开启防火墙)
  • systemctl disable firewalld.service (禁止防火墙自启动)
  • systemctl enable firewalld.service (防火墙随系统开启启动)

 

 

你可能感兴趣的:(linux,linux)