The Journal

A Split-Tunnel VPN for My Home Network

I wanted the same thing most self-hosters want eventually: a way into my own network from anywhere, that does not trust a third-party cloud to hold the keys. WireGuard was the obvious choice for the tunnel itself. The interesting decisions were all around the edges of it.

Split-tunnel, and unapologetically so. My peers get access to the services I run on my network, and that is all. Their Netflix traffic does not route through my connection, my bandwidth is not their exit node, and my egress IP is not attached to anyone’s phone. Full-tunnel VPNs are great when you are trying to hide from a hostile network somewhere. I was trying to do something else: let myself, and eventually a few specific people, reach specific machines. Split-tunnel is the honest design for that.

The MTU lesson. The first thing that broke was large downloads stalling. The classic culprit on tunnels over networks that encapsulate anything interesting is MTU: the default 1500 does not survive some real-world paths, so packets that seem fine at handshake-time die silently on bulk transfer. Dropping the tunnel MTU to a conservatively small value fixed it. The general rule I now follow: lower than you think, then verify with an oversized ping with the don’t-fragment bit set before you trust any throughput measurement.

Dashboards reduce my error rate; keys stay boring. I run WGDashboard behind localhost access only, which gives me peer management, QR provisioning for phones, and a live view of handshakes without me hand-editing configs at midnight. The dashboard is a convenience, not a security boundary. Credentials live in a file readable only by root, the tunnel port is the only thing exposed, and the admin interface never touches the public internet.

The road test. The external handshake has since been proven from networks I do not control: the UDP path survives the NATs and filtering in between, and the first phone peer connected and did exactly what the design said it would, no more and no less. The client provisioning checklist that survived the road test now reads: issue keys through the dashboard, verify a handshake before promising connectivity, and keep the split-tunnel boundary documented so the next peer inherits a policy and not an accident.

Why this belongs on a server that already does ten other jobs. A VPN endpoint is infrastructure, and infrastructure belongs where I can back it up, monitor it, and version it alongside everything else. The VPN is not a gadget. For me it is the front door.

#vpn#wireguard#networking#self-hosting