February 2020
Intermediate to advanced
666 pages
15h 45m
English
Let's start by verifying the status of firewalld. There are two ways to do this. For the first way, we can use the --state option of firewall-cmd:
[donnie@localhost ~]$ sudo firewall-cmd --state running [donnie@localhost ~]$
Alternatively, if we want a more detailed status, we can just check the daemon, the same as we would any other daemon on a systemd machine:
[donnie@localhost ~]$ sudo systemctl status firewalld firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2017-10-13 13:42:54 EDT; 1h 56min ago Docs: man:firewalld(1) Main PID: 631 (firewalld) CGroup: /system.slice/firewalld.service ...