1、关闭防火墙:

  • systemctl stop firewalld.service

开启防火墙:

  • systemctl start firewalld.service

关闭开机启动:

systemctl disable firewalld.service

开启开机启动