Skip to main content
Preview. Not available yet.
A WireGuard peer of the Agent Gateway instance’s Network acts as a subnet router for the user’s network. The targets behind it need no WireGuard of their own, and the instance reaches each one at its own address.

Add the Router

The router joins the Network the same way as a target’s host. It forwards traffic between the Network and the subnet.

Route the Subnet

POST /v2/network_routes sends the subnet to the router:

Add the Target

POST /v2/agent_gateways/{id}/mcp_servers adds the target by its own address: