Get your free beta license ↗
Firewall and bans · nftables

firewall-cmd says “FirewallD is not running”

Last updated 30 Nov 2026
Summary

firewall-cmd says FirewallD is not running, and ufw rules have no effect. UrbeStack manages the firewall with nftables and provides commands to open ports.

Symptoms

On AlmaLinux, firewall-cmd waits about ten seconds and then fails.

firewall-cmd --add-port=8080/tcp
Output
Waiting on dbus connection...
FirewallD is not running

On Ubuntu, ufw allow 8080/tcp prints Rules updated. The rule has no effect, and ufw status prints Status: inactive.

Cause

UrbeStack writes its firewall rules to a single nftables table, inet urbestack. During installation, UrbeStack disables and masks firewalld and ufw to keep them from running alongside its firewall.

Resolution

  1. Open the port with an UrbeStack command.

    urbestack-firewall-rule-add --kind port --value 8080 --note 'what it is for'
  2. For --value, use a port number, a UDP port such as 8080/udp, or a range such as 30000-31000.

  3. To set all extra open ports at once, pass them as one list.

    urbestack-firewall-ports-set --ports "8080, 9000/udp, 30000-31000"
  4. Check the firewall rules and open ports.

    urbestack-firewall-status