TCP Proxy
Create TCP Proxy Session
Changed onCreate a TCP proxy session and return a short-lived token for WebSocket connection. This is the first step in establishing a TCP proxy connection. The returned token should be used to connect to the WebSocket endpoint /v1/tcp-proxy/{token}.
Two-Phase Authorization Flow:
- Call this endpoint with Bearer token authentication to create a TCP tunnel
- Server establishes connection to target via agent and returns a session token
- Connect to /v1/tcp-proxy/{token} WebSocket endpoint (no auth header needed)
This flow is designed to work with browser WebSocket API which cannot send custom Authorization headers.
Required Permissions:
- System access right: SYSTEM_ACCESS_SETUP_TCP_PROXY
- Object access right: OBJECT_ACCESS_CONTROL on the target or proxy object
post/v1/tcp-proxy
Request
- Base URLhttp://127.0.0.1:8000
- URLhttp://127.0.0.1:8000/v1/tcp-proxy
- AuthHTTP bearer
Request body
Response
TCP proxy session created successfully.
Changes
- info
api operation id
createTcpProxySessionwas added
- info
- info
added the new optional request property
- info