POST
/
api
/
routers
/
{router_id}
/
transient-forwarding
curl --request POST \
  --url https://api.altostrat.io/api/routers/{router_id}/transient-forwarding \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expire_after_minutes": 725,
  "dst_port": 32768,
  "dst_address": "<string>",
  "allow_from": "<string>"
}'
{
  "id": "<string>",
  "port": 123,
  "revoked_early": true,
  "allow_only_cidr": "<string>",
  "authorized_at": "2023-11-07T05:31:56Z",
  "expires_at": "2023-11-07T05:31:56Z",
  "expired": true,
  "entry_point": "<string>",
  "dst_address": "<string>",
  "dst_port": 123,
  "time_to_expire": "<string>"
}

Authorizations

Authorization
string
header
required

Use the Authorization: Bearer <token> header format

Path Parameters

router_id
string
required

UUID of the router to configure.

Body

application/json
Port forward configuration details
expire_after_minutes
integer
required
Required range: 10 <= x <= 1440
dst_port
integer
required
Required range: 1 <= x <= 65535
dst_address
string
required
allow_from
string
required

Public IP or CIDR (/32 to /24).

Response

200 - application/json
Successful creation of a port forward
id
string
port
integer
revoked_early
boolean
allow_only_cidr
string
authorized_at
string | null
expires_at
string
expired
boolean
entry_point
string
dst_address
string
dst_port
integer
time_to_expire
string