Skip to main content
One or more hosts inside the user’s network run a Tunnel out to Telnyx, and the Agent Gateway instance reaches the targets behind them at their own addresses.

Run the Tunnel

Create the tunnel. The output carries its token once:
Workstation
Each host runs the tunnel process with the token:
Tunnel host
Every host that runs the token serves the tunnel.

Route the Subnet

A route on the instance’s Network sends the target’s subnet to the tunnel:
Workstation

Add the Target

POST /v2/agent_gateways/{id}/mcp_servers adds the target by its own address, open to every key on the instance:
The target sees each request from the tunnel host’s address.