Documentation.

Everything about running Tunnex, from the first tunnel to a team inbox on your own server. The same pages live in the repository under docs/.

  1. 01

    Getting started

    Install Tunnex, open a tunnel, create a team webhook inbox every developer listens to, and give CI jobs and coding agents their own access.

  2. 02

    Inboxes

    Team webhook inboxes: signature checks at the edge, listeners and filters, catch-up after being offline, replay with re-signing, roles and tokens.

  3. 03

    Configuration

    Every client environment variable, the tunnex.yaml format read by tunnex start, and the Tunnex server settings with their defaults.

  4. 04

    Self-hosting

    Run the Tunnex server with Docker Compose or Kubernetes: wildcard DNS and TLS, Nginx, backups, upgrades, health checks, metrics and scaling.

  5. 05

    HTTP API

    The Tunnex control-plane REST API, how the edge answers for tunnels and inboxes, and the local inspector API on 127.0.0.1:4040.

  6. 06

    Protocol

    The Tunnex v2 wire protocol: the 8-byte frame header, the handshake, HTTP, WebSocket, TCP and inbox streams, flow control and compatibility.

  7. 07

    Architecture

    How a request and a webhook travel from the internet to localhost through Tunnex, how the code is layered, and what the database stores.

  8. 08

    Security

    The Tunnex threat model: assets and trust boundaries, controls at the edge, in accounts and in the local inspector, accepted risks, review log.

  9. 09

    Benchmarks

    Reproducible loopback benchmarks of Tunnex: latency, throughput, large transfers and streaming, the current client against the last release.

Design decisions are recorded as ADRs in the repository.