- 获取root权限
su - root 输入密码
- 查看防火墙状态
systemctl status firewalld
- 临时关闭防火墙
systemctl stop firewalld
- 永久关闭防火墙
systemctl disable firewalld
- 打开防火墙
systemctl enable firewalld
时间: 2024-10-16 21:29:50
su - root 输入密码
systemctl status firewalld
systemctl stop firewalld
systemctl disable firewalld
systemctl enable firewalld