GNOME Firewall on Linux: firewalld Zones Quick Guide

gnome firewall - custom-gnomfw54-featured.png

Searches for gnome firewall usually mean “where is the firewall in GNOME?” On Fedora, AlmaLinux, and Rocky with GNOME, the panel reflects firewalld — not a separate GNOME service. CLI reference: firewall-cmd list rules; Ubuntu GNOME: UFW basics.

Find the panel

Settings → Network or Privacy (distro varies); confirm firewalld is running.

bashstate
sudo systemctl is-active firewalld
sudo firewall-cmd --state
Settings
GUI

Know your zone

Active zone (often public) controls default allow/deny.

bashzone
sudo firewall-cmd --get-active-zones
sudo firewall-cmd --list-all
zone
public

Open a service

Prefer --add-service= (ssh, http) over raw ports.

bashssh
sudo firewall-cmd --permanent --add-service=ssh
sudo firewall-cmd --reload
service
ssh

Make it permanent

Runtime changes vanish on reboot without --permanent + reload.

TipHome lab on trusted LAN? Keep default deny on WAN-facing interfaces only; document what you opened.
reload
persist

Quick Reference

Related tutorials

Diagrams are original illustrations by Gnome IT Solutions. Tutorial text © Gnome IT Solutions.