firewalld for Red Hat systems
For our next act, we turn our attention to firewalld, which is the default firewall manager on Red Hat Enterprise Linux 7 through 9 and all of their offspring.
As we just saw with ufw
on Ubuntu, firewalld
can be a frontend for either iptables
or nftables
. On RHEL/CentOS 7, firewalld
uses the iptables
engine as its backend. On the RHEL 8- and 9-type distros, firewalld
uses nftables
as its backend. Either way, you can’t create rules with normal iptables
or nftables
commands while firewalld
is enabled because firewalld
stores the rules in an incompatible format.
Until very recently, firewalld
was only available for the newer RHEL versions and their offspring. Now, however, firewalld
is also available in the Ubuntu repositories. So, if you want to run firewalld
on Ubuntu, you finally have that choice. Also, the combination of firewalld
and nftables
now comes already installed and activated on the SUSE distros.
If you’...