Create a Managed NAT Gateway
Endpoint
Request
curl --location \
--request POST 'https://api.ionos.com/cloudapi/v6/datacenters/15f67991-0f51-4efc-a8ad-ef1fb31a480c/natgateways' \
--header 'Authorization: Bearer $IONOS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"properties": {
"name": "Production NAT Gateway",
"publicIps": [
"198.51.100.25"
],
"lans": [
{
"id": "2",
"gatewayIps": [
"192.168.1.5"
]
}
]
}
}'Response
Last updated
Was this helpful?