防火墙常用命令
防火墙常用命令
centos7的防火墙的状态
sudo systemctl status firewalld
关闭防火墙
sudo systemctl stop firewalld
打开防火墙
sudo systemctl start firewalld
重启后防火墙
sudo systemctl disable firewalld
开机启动防火墙
systemctl enable firewalld
开机自动关闭
systemctl disable firewalld
所有文章仅为作为自己笔记,方便查阅.