17.2 Checking firewalld Status
The firewalld service is not usually installed and enabled by default on all Ubuntu installations. The status of the service can be checked via the following command:
# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-04-10 10:17:54 EDT; 20s ago
Docs: man:firewalld(1)
Main PID: 4488 (firewalld)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/firewalld.service
└─4488 /usr/bin/python3 -Es /usr/sbin/firewalld --nofork --nopid
Apr 10 10:17:54 demo-server systemd[1]: Starting firewalld - dynamic firewall daemon...
Apr 10 10:17:54 demo-server systemd[1]: Started...