Tag

#DERP

1 posts

5 min read
Self-Hosted DERP Relay: Stable 20ms Domestic Fallback for Headscale

Tailscale / Headscale prefers WireGuard P2P, but NAT traversal often fails and traffic falls back to overseas official DERP relays with 100ms+ latency. This post records how I added a domestic self-hosted DERP relay to Headscale, including source modification, self-signed certificates, and anti-abuse setup.

Post Homelab