UDP, clientless SSH & Go SDK

Beyond HTTP, TCP, and TLS passthrough, tunl and aditd support framed UDP datagram relays, clientless ssh -R port forwarding, HAProxy PROXY Protocol v1/v2, end-to-end gRPC / HTTP/2, an embeddable Go SDK, and real-time outage webhooks.

UDP tunneling (tunl udp)

Expose DNS, WireGuard, VoIP, or game servers over length-prefixed yamux NAT streams:

tunl udp 51820 --name wgvpn

Clientless ssh -R gateway

Enable aditd --ssh :2222 on the server. Machines without tunl installed can publish HTTP or TCP services with standard OpenSSH (shell, exec, and -L local forwards are strictly disabled):

ssh -N -R shop:80:localhost:3000 <token>@tunl.surf -p 2222
ssh -N -R 0:localhost:5432 <token>@tunl.surf -p 2222

Upstream PROXY Protocol v2 & gRPC / HTTP/2

# Preserve real visitor IP:port into local TCP/TLS servers
tunl tcp 5432 --proxy-proto v2

# gRPC (application/grpc) flows end-to-end automatically; force h2c for any HTTP/2 app:
tunl http 50051 --http2

Embeddable Go SDK (pkg/tunl) & alert webhooks

ln, err := tunl.Listen(ctx, tunl.Options{
    Server: "tls://51.83.193.202:7000",
    Token:  os.Getenv("ADIT_TOKEN"),
    Name:   "my-service",
})
defer ln.Close()
http.Serve(ln, mux)

Configure aditd --alert-webhook https://hooks.slack.com/... or tunl http 3000 --event-webhook https://... to receive HMAC-signed Slack/Discord/JSON alerts on tunnel.up, tunnel.down, pool.failover, and member.quota_exceeded.