Skip to main content

Which VPN do you recommend for reaching internal services from outside the cluster?

Syself support For release

For VPN access to internal Kubernetes services, run Cloudflare Tunnel, NetBird or a WireGuard pod as a workload in the cluster. A VPN is not part of Syself Autopilot, so the tool is your choice and you run it like any other workload.

  • Cloudflare Tunnel: the least to set up and maintain. A connector pod in the cluster dials out to Cloudflare, so no port is opened on the nodes. Web services need no VPN client on developer machines.
  • NetBird: a mesh VPN built on WireGuard. A NetBird gateway pod in the cluster gives developers access to the Service and pod networks.
  • WireGuard: a WireGuard pod with IP forwarding gives you the most control and takes the most setup. WireGuard uses UDP and Hetzner Load Balancers carry TCP only, so expose the pod as a NodePort Service, as described in Choose how to expose an application.

For one developer and one service, kubectl port-forward works without any of this.

Before you route the pod and Service ranges to laptops, check that they do not overlap a range your VPN or office network already uses. The ranges cannot change after the cluster is created. See Configure pod and service subnets.

If you need a tunnel from the cluster to an office or another network instead, follow Connect to on-prem or another VPC.

Still stuck?

Prepare your case, then email us.