Skip to content
AtGlance
Remote Tunnel

Relay

Use a relay when no side can accept inbound connections: the console has no public URL and cannot publish a port, and the remote sites can only make outbound HTTPS. A small relay runs on a host with a public address that you control, such as a cloud VM or a DMZ host. The console's tunnel service and the sites' connectors all dial out to it.

Security

  • End-to-end mutual TLS. Inside each connection to the relay, the connector and the console run a second TLS session, so the relay only forwards ciphertext. It cannot read or change it.
  • Only enrolled connectors register. They need a certificate from the console's CA, and revoked certificates are refused. Enrollment goes through the relay too, pinned to the token's CA fingerprint.
  • No open forwarding: connectors are forwarded to the console only.
  • Limits: connections per address per minute, and an optional bandwidth cap per connection.

Set up

  1. In the console, go to Remote Tunnel → Relays → Add relay, for example wss://relay.example.com:443.
  2. Choose Install bundle. It downloads a script with a new certificate for the relay, its key and the console CA. Run it on the relay host, then start the relay container it prints.
  3. Within 30 seconds the console shows the relay Online.
  4. On each profile that should use it, choose Connectors reach the console: Through a relay. The connector command then uses ATGLANCE_RELAY_URLS.

Use several relays for high availability: connectors try them in order. If the licence is removed, the console leaves the relays and every relayed session ends.