Centos8 firewall防火墙关闭/开启,开机关闭/开启

Linux · 2024-02-06
Centos8 firewall防火墙关闭/开启,开机关闭/开启

1,查看防火墙状态

systemctl status firewalld.service

2,开启防火墙

systemctl start firewalld.service

3,关闭防火墙

systemctl stop firewalld.service

4,禁用防火墙

systemctl disable firewalld.service
Theme Jasmine by Kent Liao