IONOS Cloud Network icon

IONOS Cloud Network

Manage IONOS Cloud Network resources (LANs, NICs, IP Blocks, NAT Gateways, Firewall Rules, Flow Logs). Developped with Love by Ascenzia (ascenzia.fr)

NAT Gateway → Create

AI-generated

Summary

Create a NAT gateway in a datacenter with specified public IPs and LAN connections.

Inputs

  • datacenterId (required) — The unique ID of the datacenter
  • natGatewayName (required) — The name of the NAT gateway
  • publicIps (required) — Comma-separated list of public IPs for the NAT gateway
  • lans (required) — Comma-separated list of LAN IDs to connect to the NAT gateway

Output shape

The API response representing the created NAT gateway

No additional fields from the node's Additional Fields collection are applied during creation, as the implementation uses only the four required parameters.

Examples

Example 1: Create a NAT gateway named 'gw-1' in datacenter 'dc123' with public IPs '1.2.3.4,5.6.7.8' and LAN IDs '10,20'.

datacenterId: 'dc123', natGatewayName: 'gw-1', publicIps: '1.2.3.4,5.6.7.8', lans: '10,20'

Links

Discussion