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

remove

Remove a NAT Gateway Lan

Usage

ionosctl compute natgateway lan remove [flags]

Aliases

For natgateway command:

[nat ng]

For remove command:

[r]

Description

Use this command to detach a LAN from a NAT Gateway. Servers on that LAN immediately lose their route to the gateway and thus their outbound internet access; any SNAT rules covering that LAN's subnet no longer match live traffic.

Pass --all to detach every LAN from the gateway. You can force the command to execute without user input using --force option.

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

Required values to run command:

  • Data Center Id

  • NAT Gateway Id

  • Lan Id

Options

Examples

Last updated

Was this helpful?