查看状态

    firewall-cmd --state

关闭

    systemctl stop firewalld.service

禁止开机启动

    systemctl disable firewalld.service