List all active port forwards for a given router.
cURL
curl --request GET \ --url https://api.altostrat.io/api/routers/{router_id}/transient-forwarding \ --header 'Authorization: Bearer <token>'
[ { "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>" } ]
Use the Authorization: Bearer <token> header format
Authorization: Bearer <token>
UUID of the router to query.
List of active port forwards
The response is of type object[].
object[]
Was this page helpful?