Skip to content

Connectivity Relay

The Tunnet connectivity relay (tunnet-relay) is a thin wrapper around the official iroh-relay server. Agents use it as a mesh NAT-traversal fallback (DERP-style) when direct peer-to-peer QUIC fails.

How it differs from Edge

Edge (tunnet-edge)Connectivity relay (tunnet-relay)
PurposePublic ingress for tunnet tunnelMesh relay / hole-punch assist
Protocoltunnet/edge/1 (EdgeCtrl)iroh-relay HTTP(S) / QUIC
Who connectsAgents reverse-tunnel; internet clients hit the edgeAgents only (iroh Endpoints)
Binarytunnet-edgetunnet-relay

Architecture

Loading diagram...

Managed agents receive an effective relay map from the control plane (RelayMode::Custom). Direct / serverless agents typically use the public n0 relays unless you point them at your own tunnet-relay.

When to run one

  • You want mesh traffic to stay on infrastructure you operate
  • Cloud / enterprise deployments that disable public n0 relays
  • Self-hosted control planes that advertise org or deployment relays

Next steps

Released under the AGPL-3.0 License.