Product SiteDocumentation Site

3.8.11. Check if firewalld is running

To check if firewalld is running, enter the following command:
~]$ systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
	  Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
	  Active: active (running) since Sat 2013-04-06 22:56:59 CEST; 2 days ago
	Main PID: 688 (firewalld)
	  CGroup: name=systemd:/system/firewalld.service
In addition, check if firewall-cmd can connect to the daemon by entering the following command:
~]$ firewall-cmd --state