# urbestack-firewall-rule-del

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-firewall-rule-del --id N
```

## Description

Removes the firewall rule selected by --id. Use urbestack-firewall-rule-list to find the rule ID.

Removing an allow rule requires that no other change be pending. By default, UrbeStack restores the previous rules after five minutes unless you confirm with urbestack-firewall-confirm or the Confirm button in the web interface.

## Same in the API

- [DELETE /security/firewall/rules/{id}](https://urbestack.com/docs/api/delete-security-firewall-rules-id.md): Remove a firewall rule

## Command family: firewall

- [urbestack-firewall-confirm](https://urbestack.com/docs/commands/urbestack-firewall-confirm.md): Confirms the pending firewall change and cancels its automatic revert.
- [urbestack-firewall-ports-set](https://urbestack.com/docs/commands/urbestack-firewall-ports-set.md): Replaces the firewall's list of extra open ports.
- [urbestack-firewall-render](https://urbestack.com/docs/commands/urbestack-firewall-render.md): Regenerates the nftables rules and the sshd drop-in from UrbeStack's settings, checks both configurations, and applies them.
- [urbestack-firewall-revert](https://urbestack.com/docs/commands/urbestack-firewall-revert.md): Reverts the pending firewall change immediately.
- [urbestack-firewall-rule-add](https://urbestack.com/docs/commands/urbestack-firewall-rule-add.md): Adds a firewall rule.
- [urbestack-firewall-rule-list](https://urbestack.com/docs/commands/urbestack-firewall-rule-list.md): Lists UrbeStack's firewall rules and the ports and ranges the firewall is configured to open.
- [urbestack-firewall-status](https://urbestack.com/docs/commands/urbestack-firewall-status.md): Shows whether UrbeStack's firewall is enabled, which rules are configured, and which ports and ranges it is configured to open and why.
