Shaf Lab

Mesh VPN

A private, encrypted network that connects your machines directly, such as Tailscale.

A mesh VPN connects your machines to each other over a private, encrypted network, instead of backhauling everything through a single appliance. Tailscale is a well-known example. Each device gets an identity, a stable address, and a way to reach the others that are allowed to talk to it, even when they sit behind NAT.

This is a comfortable way to reach a home lab, a development database, or a teammate's preview machine without opening inbound ports on the public internet. It is also a way to apply the same access policy on laptops and servers. Combine it with least-privilege groups so a phone does not get the same path as a production jump host.

A mesh is not a substitute for application-level authentication, and it is not a reason to expose admin tools to every device on the tailnet. Use it as the network path, then still require identity at the service. Keep an eye on exit nodes and shared subnets, which can widen the path more than people notice.

If you only need to expose one local service to the edge, a secure tunnel may be enough. A mesh VPN earns its keep when many machines need to find each other.