shadow 发表于 2024-4-19 15:29:45

Centos防火墙解锁

1、启动防火墙

# systemctl start firewalld
Failed to start firewalld.service: Unit is masked.
(启动防火墙失败:防火墙被锁定)

二、解决方法
1、防火墙解锁

# systemctl unmask firewalld
输出如下结果:
Removed symlink /etc/systemd/system/firewalld.service.
(移除符号链接)


2、再次启动firewalld:
# systemctl start firewalld

3、查看firewalld状态:
# systemctl status firewalld

页: [1]
查看完整版本: Centos防火墙解锁