Skip to content

Retrieve the NAT translation table for a virtual network

Request

Returns the active network address translation (NAT) table for the specified virtual network, showing TCP and UDP flow mappings.


Requires nodes::service:vpn-nats or nodes::remote-execute permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Query
waitinteger

Pass 1 to block until the node responds and return its output.

Value:1
Bodyapplication/jsonrequired
networkstringrequired

Virtual network name

Example:"virtual-network"
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/vpn-nats?wait=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "network": "virtual-network"
  }'

Responses

OK

Bodyapplication/json
outputobject
Response
{ "output": { "nats": [] } }