feat: WireGuard VPN on cum-services with wg-access-server #21
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/wireguard-vpn"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a WireGuard VPN to cum-services, managed through a web console at
vpn.cumsek.com.What
wg_access_serverdatabase on the existing Postgres, provisioned like the other databases (ensureDBOwnershipand a sops-managed password)..secrets.yamland are merged into the config through a sops template.vpn.cumsek.comis generated fromcum.nix, so it gets an nginx vhost, an ACME cert and a dashboard card. Port 8000 stays closed in the firewall; the console is only reachable through nginx.10.44.0.0/24, a full tunnel NATed out ofens18(LAN and internet), and DNS through the server. IPv6 is dropped in the tunnel because the LAN is IPv4-only.Before deploying
The wildcard
*.cumsek.comrecord is proxied by Cloudflare, which cannot carry UDP. Peers therefore connect towg.cumsek.com. You need to:wg.cumsek.comas a DNS only (grey cloud) A record pointing at the home IP.192.168.1.201.The admin login is
admin; the password iswg_access_server.admin_passwordincum secrets.If
cloudflare-warpon this host runs in full-tunnel mode, it may route VPN replies through WARP. Check this first if clients connect but no traffic passes.Testing
nixosConfigurations.cum-servicesbuilds.wg0, and the forward and masquerade rules get installed.🤖 Generated with Claude Code
Pull request closed