firewalld not listing any active zones?

by giorgio79   Last Updated January 13, 2018 16:00 PM

When running

[root@host ~]# firewall-cmd --get-active-zones
[root@host ~]#
[root@host ~]# firewall-cmd --get-default-zone

I am not getting any active zones. How can I activate a zone?

Answers 2

You activate a zone by binding a network interface or source IP address range(s) to it. Any firewall rules in the zone then apply to that network interface or IP address range(s).

Michael Hampton
Michael Hampton
January 13, 2016 22:58 PM

On a similar case, I took a peek with strace and realized, that FirewallD had somehow lost D-Bus access completely.

The easiest fix was to reboot the Linux. That helped and FirewallD saw active zones again.

Jari Turkia
Jari Turkia
January 13, 2018 15:53 PM

Related Questions

Firewalld block http traffic even if activated

Updated December 08, 2017 12:00 PM

Firewalld management

Updated July 21, 2015 17:00 PM

OpenVPN: Can ping machines on my LAN but the server

Updated January 14, 2018 04:00 AM