Skip to content

upctl server firewall

Manage server firewall rules. Enabling or disabling the firewall is done in server modify.

upctl server firewall [flags]

Options

Option Description
--help, -h help for firewall
Default: false

Global options

Option Description
--client-timeout, -t Client timeout to use in API calls.
Default: 0s
--config Configuration file path.
--debug Print out more verbose debug logs.
Default: false
--force-colours Force coloured output despite detected terminal support.
--no-colours Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
--output, -o Output format (supported: json, yaml and human)
Default: human
Command Description
upctl server Manage servers
upctl server firewall create Create a new firewall rule
upctl server firewall delete Removes a firewall rule from a server. Firewall rules must be removed individually. The positions of remaining firewall rules will be adjusted after a rule is removed.
upctl server firewall show Show server firewall details.