CMDCommand · run as root on the server · firewall family
urbestack-firewall-ports-set
First published 14 Oct 2026
0.2.0Unchanged since publicationUsage
# urbestack-firewall-ports-set --ports "8080, 9000/udp, 30000-31000"Description
From the command's --help outputReplaces the firewall's list of extra open ports. The command requires --ports, a comma-separated list of ports or ranges. Entries can be single ports such as 8080 or inclusive ranges such as 30000-31000. Port numbers run from 1 to 65535. A range starts at the lower port. TCP is the default. Append /udp for UDP or /tcp to specify TCP explicitly. Pass an empty string to --ports to remove all extra port openings.Usage: urbestack-firewall-ports-set --ports "8080, 9000/udp, 30000-31000" Replaces the firewall's list of extra open ports. The command requires --ports, a comma-separated list of ports or ranges. Entries can be single ports such as 8080 or inclusive ranges such as 30000-31000. Port numbers run from 1 to 65535. A range starts at the lower port. TCP is the default. Append /udp for UDP or /tcp to specify TCP explicitly. Pass an empty string to --ports to remove all extra port openings.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-firewall-ports-set --help outputThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/commands/urbestack-firewall-ports-set/