CentOS7 防火墙
1、查看防火墙状态
systemctl status firewalld
systemctl stop firewalld -- 关闭
systemctl start firewalld -- 打开
2、设置默认状态下的防火墙(重启后的状态)
systemctl disable|enable firewalld
本文详细介绍了在CentOS7系统中如何查看、开启和关闭防火墙,并提供了设置防火墙默认状态的方法,确保系统重启后的防火墙状态符合需求。
CentOS7 防火墙
1、查看防火墙状态
systemctl status firewalld
systemctl stop firewalld -- 关闭
systemctl start firewalld -- 打开
2、设置默认状态下的防火墙(重启后的状态)
systemctl disable|enable firewalld
468

被折叠的 条评论
为什么被折叠?