Setting up your firewall from A to Z
Now that we know all the basics, we will check out the two most common Linux distributions firewalls, including for Manjaro.
ufw and firewall-cmd
ufw and firewalld are command-line interfaces for iptables configuration. As explained earlier, the firewall itself is the Netfilter package. Despite this, we call ufw and firewalld firewalls, as they are used for this purpose from a user’s perspective.
Considering the great by-design Linux security, ufw is perfect as a firewall for a regular user. It includes a hit-count feature – that is, a rate-limiting configuration for brute-force attacks. ufw also offers a simple interface (compared to other tools), as its command syntax is short and clear by design. Its GUI frontend, gufw, offers zone management with different rules for each zone.
In comparison, firewalld, with its command-line frontend firewall-cmd, has multiple zones by default, which is great for frequent travelers&...