查看防火墻的狀態(tài)命令:sudo systemctl status firewalld

打開(kāi)防火墻命令:sudo systemctl start firewalld

關(guān)閉防火墻命令:sudo systemctl stop firewalld