For the complete documentation index, see llms.txt. This page is also available as Markdown.

update

Update a FirewallRule

Usage

ionosctl compute firewallrule update [flags]

Aliases

For firewallrule command:

[f fr firewall]

For update command:

[u up]

Description

Update the matching criteria of an existing Firewall Rule on a NIC. Only the flags you pass are changed; the rest keep their current values.

You can retune the match: --direction, --source-mac, --source-ip, --destination-ip, plus --port-range-start/--port-range-end (for a TCP/UDP rule) or --icmp-type/--icmp-code (for an ICMP rule), and --name.

NOTE: the rule's protocol is fixed at creation and CANNOT be changed here (there is no --protocol flag). To change protocol, delete the rule and create a new one. Editing port flags on an ICMP rule (or ICMP flags on a TCP/UDP rule) has no effect.

Use --wait (-w) to wait for the resource to reach AVAILABLE state.

Required values to run command:

  • Data Center Id

  • Server Id

  • Nic Id

  • Firewall Rule Id

Options

Examples

Last updated