Self-hosted VPN and Admin Dashboard
A VPN for friends and family on restrictive networks, with a patched Go server and a self-service dashboard
Overview
An Outline (Shadowsocks) VPN plus a REALITY fallback for networks that block it, running on my Kubernetes cluster. A Next.js dashboard manages per-device keys, QR sharing and usage, and talks to the Kubernetes API directly.
The problem
Users' DNS requests over UDP sometimes vanished, and some ISPs block the VPN outright.
What I did
Backported an upstream race fix to the Outline server (Go) and wrote a second patch for NAT sessions closed by a DNS reply, each with a regression test that fails before the fix, then cross-compiled for ARM64. Added a REALITY protocol fallback and per-device Pi-hole ad blocking that toggles live.
Details
- Patched the Outline server (Go) with regression tests and an ARM64 build
- Per-device keys, QR sharing and usage meters from Prometheus
- Kubernetes resource versions reject conflicting edits instead of losing keys
- Per-device ad blocking via Pi-hole, toggled without restarting the server
Built with
Go, Next.js, Kubernetes, Xray, Pi-hole, Prometheus