Linux 防火墙相关操作命令
CentOS环境
- 查看防火墙状态
systemctl status firewalld
- 关闭防火墙
systemctl stop firewalld
- 关闭开机启动
systemctl disable firewalld
- 设置开机自启
systemctl enable firewalld
2021-10-05 12:13:48
CentOS环境
systemctl status firewalld
systemctl stop firewalld
systemctl disable firewalld
systemctl enable firewalld