firewalld is the dynamically managed firewall daemon that ships as the default firewall on Red Hat Enterprise Linux, Fedora, CentOS Stream, Rocky Linux, AlmaLinux and the SUSE family, and is packaged by Debian, Ubuntu, Arch and others. Where a traditional firewall is edited by hand and reloaded as one static ruleset, firewalld keeps a live runtime configuration and a separate permanent one, organised into zones — named trust levels such as public, home, work, dmz and trusted that a connection is matched against. You tell it which services a zone allows, and it translates that into nftables rules for you.
The daemon exposes its whole configuration over D-Bus (org.fedoraproject.FirewallD1), so other software can add, query and remove rules on the fly without restarting anything. That is what lets NetworkManager automatically move a laptop interface into the right zone when you join a café Wi-Fi network, and it is why firewall changes made with firewall-cmd take effect immediately while the permanent copy is saved for the next boot. firewalld is written in Python, was created by Thomas Woerner at Red Hat and is now maintained by Eric Garver and a community of contributors. The current release is 2.5.2 (September 2026).
block, dmz, drop, external, home, internal, nm-shared, public, trusted, work) and you can define your own.--permanent followed by firewall-cmd --reload, or promote the whole runtime state in one go with --runtime-to-permanent. No downtime, no reboot, and a bad rule can be reverted by reloading.ssh, https or samba by name rather than by port number. The cockpit, dhcpv6-client and mdns services are ready out of the box, and services can be overridden per zone.firewall-cmd --add-rich-rule='rule family=ipv4 source address=10.55.55.0/24 service name=ssh accept'.masquerade, forward-port and tcp-mss-clamp actions. This is the modern replacement for many hand-written rich rules on a router or hypervisor host.firewall-cmd for scripted and interactive use, firewall-config as a GTK graphical front end, firewall-applet for the desktop tray, and firewall-offline-cmd to edit configuration during an installation or in a container where the daemon is not running.firewall-cmd --panic-on drops all inbound and outbound traffic instantly, and the direct interface lets you drop in raw nftables/iptables-style rules for the rare case the abstractions do not cover.Most desktop firewalls make you choose between a friendly interface and real control. firewalld gives you both: the zone model is simple enough to explain to a colleague, while rich rules and policies reach the same depth as a hand-written nftables ruleset. Separating runtime from permanent configuration removes the usual fear of changing a firewall over SSH — you can try a rule, check that your session survives, and only then make it persistent. Because it is the default on the entire Red Hat and SUSE ecosystem, the documentation, SELinux integration and Ansible modules are already there, and because it is packaged everywhere else, the same skills transfer to Debian, Ubuntu and Arch servers.
/etc/firewalld/ and in D-Bus calls, both of which Ansible, Kickstart and container images can manage without a human at the console.Runs on Linux, where it is the default firewall on Fedora, RHEL and its rebuilds (Rocky, AlmaLinux, CentOS Stream) and on openSUSE/SLES; it is also packaged for Debian, Ubuntu, Arch Linux, Gentoo and others. Debian 13 “trixie” ships it as firewalld 2.3.1. There is no Windows or macOS build — those platforms have their own firewalls — but firewalld can be installed in a container or a minimal image where only firewall-offline-cmd is used.
GPL-2.0-or-later (GNU General Public License v2 or later) — verified from the source headers (SPDX-License-Identifier: GPL-2.0-or-later) and the License: GPL-2.0-or-later field in the project’s RPM spec file, with the full GPLv2 text in the repository’s COPYING. Website: firewalld.org · Documentation: firewalld.org/documentation · Source: github.com/firewalld/firewalld
Browse more free and open source tools in the directory, or see the Security & Privacy category for related tools.