centos查看开启关闭防火墙状态
作者:高景洋 日期:2023-06-14 15:11:39 浏览次数:831
centos 如何查看防火墙状态?
执行:systemctl status firewalld ,即可查看防火墙状态
防火墙的开启、关闭、禁用命令
(1)设置开机启用防火墙:systemctl enable firewalld.service
(2)设置开机禁用防火墙:systemctl disable firewalld.service
(3)启动防火墙:systemctl start firewalld
(4)关闭防火墙:systemctl stop firewalld
(5)检查防火墙状态:systemctl status firewalld
本文永久性链接:
<a href="http://r4.com.cn/art234.aspx">centos查看开启关闭防火墙状态</a>
<a href="http://r4.com.cn/art234.aspx">centos查看开启关闭防火墙状态</a>
当前header:Host: r4.com.cn
X-Host1: r4.com.cn
X-Host2: r4.com.cn
X-Host3: 127.0.0.1:8080
X-Forwarded-For: 44.220.184.63
X-Real-Ip: 44.220.184.63
X-Domain: r4.com.cn
X-Request: GET /art234.aspx HTTP/1.1
X-Request-Uri: /art234.aspx
Connection: close
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
If-Modified-Since: Sun, 16 Jun 2024 11:07:25 GMT
Accept-Encoding: br,gzip