A Gateway Network represents the connection of a Private Network to a Public Gateway.
List Public Gateway connections to Private Networks
List the connections between Public Gateways and Private Networks (a connection = a GatewayNetwork). You can choose to filter by gateway-id to list all Private Networks attached to the specified Public Gateway, or by private_network_id to list all Public Gateways attached to the specified Private Network. Other query parameters are also available. The result is an array of GatewayNetwork objects, each giving details of the connection between a given Public Gateway and a given Private Network.
path Parameters
zoneThe zone you want to target
query Parameters
order_byOrder in which to return results.
pagePage number.
page_sizeGatewayNetworks per page.
Filter for GatewayNetworks with these status. Use unknown to include all statuses.
gateway_idsFilter for GatewayNetworks connected to these gateways.
private_network_idsFilter for GatewayNetworks connected to these Private Networks.
masquerade_enabledFilter for GatewayNetworks with this enable_masquerade setting.
List Public Gateway connections to Private Networks › Responses
GatewayNetworks on this page.
total_countTotal GatewayNetworks count matching the filter.
Attach a Public Gateway to a Private Network
Attach a specific Public Gateway to a specific Private Network (create a GatewayNetwork). You can configure parameters for the connection including whether to enable masquerade (dynamic NAT), and more.
path Parameters
zoneThe zone you want to target
Attach a Public Gateway to a Private Network › Request Body
gateway_idPublic Gateway to connect. (UUID format)
private_network_idPrivate Network to connect. (UUID format)
enable_masqueradeDefines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
push_default_routeEnabling the default route also enables masquerading.
ipam_ip_idUse this IPAM-booked IP ID as the Gateway's IP in this Private Network. (UUID format)
Attach a Public Gateway to a Private Network › Responses
idID of the Public Gateway-Private Network connection. (UUID format)
created_atConnection creation date. (RFC 3339 format)
updated_atConnection last modification date. (RFC 3339 format)
gateway_idID of the connected Public Gateway. (UUID format)
private_network_idID of the connected Private Network. (UUID format)
mac_addressMAC address of the gateway in the Private Network (if the gateway is up and running).
masquerade_enabledDefines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
statusCurrent status of the Public Gateway's connection to the Private Network.
push_default_routeEnabling the default route also enables masquerading.
ipam_ip_idUse this IPAM-booked IP ID as the Gateway's IP in this Private Network. (UUID format)
zoneZone of the GatewayNetwork connection.
Get a Public Gateway connection to a Private Network
Get details of a given connection between a Public Gateway and a Private Network (this connection = a GatewayNetwork), specified by its gateway_network_id. The response object contains details of the connection including the IDs of the Public Gateway and Private Network, the dates the connection was created/updated and its configuration settings.
path Parameters
zoneThe zone you want to target
gateway_network_idID of the GatewayNetwork to fetch. (UUID format)
Get a Public Gateway connection to a Private Network › Responses
idID of the Public Gateway-Private Network connection. (UUID format)
created_atConnection creation date. (RFC 3339 format)
updated_atConnection last modification date. (RFC 3339 format)
gateway_idID of the connected Public Gateway. (UUID format)
private_network_idID of the connected Private Network. (UUID format)
mac_addressMAC address of the gateway in the Private Network (if the gateway is up and running).
masquerade_enabledDefines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
statusCurrent status of the Public Gateway's connection to the Private Network.
push_default_routeEnabling the default route also enables masquerading.
ipam_ip_idUse this IPAM-booked IP ID as the Gateway's IP in this Private Network. (UUID format)
zoneZone of the GatewayNetwork connection.
Detach a Public Gateway from a Private Network
Detach a given Public Gateway from a given Private Network, i.e. delete a GatewayNetwork specified by a gateway_network_id.
path Parameters
zoneThe zone you want to target
gateway_network_idID of the GatewayNetwork to delete. (UUID format)
Detach a Public Gateway from a Private Network › Responses
idID of the Public Gateway-Private Network connection. (UUID format)
created_atConnection creation date. (RFC 3339 format)
updated_atConnection last modification date. (RFC 3339 format)
gateway_idID of the connected Public Gateway. (UUID format)
private_network_idID of the connected Private Network. (UUID format)
mac_addressMAC address of the gateway in the Private Network (if the gateway is up and running).
masquerade_enabledDefines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
statusCurrent status of the Public Gateway's connection to the Private Network.
push_default_routeEnabling the default route also enables masquerading.
ipam_ip_idUse this IPAM-booked IP ID as the Gateway's IP in this Private Network. (UUID format)
zoneZone of the GatewayNetwork connection.
Update a Public Gateway's connection to a Private Network
Update the configuration parameters of a connection between a given Public Gateway and Private Network (the connection = a GatewayNetwork). Updatable parameters include whether to enable traffic masquerade (dynamic NAT).
path Parameters
zoneThe zone you want to target
gateway_network_idID of the GatewayNetwork to update. (UUID format)
Update a Public Gateway's connection to a Private Network › Request Body
enable_masqueradeDefines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
push_default_routeEnabling the default route also enables masquerading.
ipam_ip_idUse this IPAM-booked IP ID as the Gateway's IP in this Private Network. (UUID format)
Update a Public Gateway's connection to a Private Network › Responses
idID of the Public Gateway-Private Network connection. (UUID format)
created_atConnection creation date. (RFC 3339 format)
updated_atConnection last modification date. (RFC 3339 format)
gateway_idID of the connected Public Gateway. (UUID format)
private_network_idID of the connected Private Network. (UUID format)
mac_addressMAC address of the gateway in the Private Network (if the gateway is up and running).
masquerade_enabledDefines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
statusCurrent status of the Public Gateway's connection to the Private Network.
push_default_routeEnabling the default route also enables masquerading.
ipam_ip_idUse this IPAM-booked IP ID as the Gateway's IP in this Private Network. (UUID format)
zoneZone of the GatewayNetwork connection.