Linux查看防火墙状态


 description

在Linux中查看防火墙状态

 command

systemctl status firewalld

 parameter

systemctl :  向 systemd 管理器查询或发送控制命令

 result

 firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-10-15 01:55:08 PDT; 2 days ago
     Docs: man:firewalld(1)
 Main PID: 684 (firewalld)
    Tasks: 2
   Memory: 27.0M
   CGroup: /system.slice/firewalld.service
           └─684 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.