Get your free beta license ↗
CMDCommand · run as root on the server · firewall family

urbestack-firewall-render

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-firewall-render [--after-sshd]

Description

From the command's --help output
Regenerates the nftables rules and the sshd drop-in from UrbeStack's settings, checks both
configurations, and applies them. On the first run, if sshd listens on a single port, UrbeStack
adopts it as ssh.port. If sshd listens on several ports, the firewall opens them alongside the
configured port and UrbeStack reports the mismatch.

After the first run, the command normally refuses to apply changes if sshd listens on different
ports than UrbeStack expects. Set ssh.port to the intended port or remove the manual changes to
the sshd configuration and restart sshd.

The sshd service runs this command with --after-sshd after every start. In this mode, the
firewall also opens any ports sshd actually listens on, preserves the sshd configuration, and
reports any mismatch. This mode also handles automatic reverts when a change reaches its
deadline or the server reboots before confirmation.

Options

Find other commands that accept these options

More in firewall

8 commands, by what they work onView all commands in this family →
urbestack-firewall-
urbestack-firewall-ports-
urbestack-firewall-rule-
Generated from release 0.2.35 (current) · urbestack-firewall-render --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-firewall-render/