防火墙:
sudo systemctl status firewalld :查看防火墙状态 active(running)打开,inactive(dead)关闭
sudo systemctl stop firewalld :关闭防火墙
sudo systemctl start firewalld :开启防火墙
这种关闭防火墙重启之后防火墙还是开启状态
sudo systemctl disable firewalld
防火墙:
sudo systemctl status firewalld :查看防火墙状态 active(running)打开,inactive(dead)关闭
sudo systemctl stop firewalld :关闭防火墙
sudo systemctl start firewalld :开启防火墙
这种关闭防火墙重启之后防火墙还是开启状态
sudo systemctl disable firewalld