CentOS7打开关闭防火墙

CentOS7打开关闭防火墙

  1. 启动:systemctl start firewalld
  2. 关闭:systemctl stop firewalld
  3. 查看状态: systemctl status firewalld
  4. 开机禁用 : systemctl disable firewalld
  5. 开机启用 :systemctl enablefirewalld systemctl

你可能感兴趣的:(liunx)