vagusQUIC and WebTransport relay for services behind NAT

☰ Contents · Start › Overview

vagus

QUIC and WebTransport relay for services behind NAT.

Reaching a private service from a browser through a tailnet DERP relay stacks TLS inside WireGuard inside WebSocket inside TLS inside TCP. vagus replaces that stack with a single QUIC or WebTransport connection through a stateless relay.

  • Native QUIC v1/v2, HTTP/3, and WebTransport with low relay overhead (~150 ns/packet on established routes, zero allocations).
  • End-to-end TLS between client and service when clients pin the service certificate, so the relay forwards encrypted packets without decrypting application traffic.
  • Post-quantum key exchange for relayed connections, WebSocket fallback, and the control tunnel.
  • Automatic end-to-end encrypted WebSocket fallback in the Wasm browser client when networks block UDP, plus short-lived encrypted invitations (native handoff) for native peers that already have their own transport.

Trust

With certificate pinning enabled (the default in vagus clients), application TLS terminates at the service. Comparing what each relay sees and can do:

vagusDERP
Application trafficNot visible (end-to-end TLS when pinned, or end-to-end encrypted fallback)Not visible (WireGuard inside)
Routing identityServer name (<route-id>.<domain>)Source and destination node public keys
Network metadataClient and connector IP/ports, packet sizes, timingPeer IP/ports, packet sizes, timing
Browser metadataOrigin header on WebSocket fallback; client key if passes or clearances are usedWebSocket upgrade headers
Impersonate serviceNo with pinning (yes if pinning is disabled)No (WireGuard peer keys)
Drop or delay trafficYes (connectors forward only to -backend)Yes

See Security and threat model for the full analysis.

Documentation

Status

Pre-1.0. Minor versions may break wire compatibility, so upgrade relays and connectors together. Report vulnerabilities to security@neuroplast.io (security policy).

Starting the terminal…