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

create

Create a Firewall Rule

Usage

ionosctl compute firewallrule create [flags]

Aliases

For firewallrule command:

[f fr firewall]

For create command:

[c]

Description

Use this command to create/add a new Firewall Rule to the specified NIC. All Firewall Rules must be associated with a NIC.

NOTE: the Firewall Rule Protocol can only be set when creating a new Firewall Rule.

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

Required values to run command:

  • Data Center Id

  • Server Id

  • Nic Id

  • Protocol

Options

Examples

Last updated

Was this helpful?