Private connectivity between the home network and a Linode cluster #46

Closed
opened 2026-11-23 16:05:22 -05:00 by bobby · 1 comment
Owner

Part of #44

Question

What are the options for a private, authenticated link between the Owner's home network (Home Assistant, LAN Bots) and a self-managed Kubernetes cluster on Linode? Compare Tailscale (incl. the Kubernetes operator / subnet routers), Headscale, plain WireGuard site-to-site, and Linode VPC features: setup, security model, failure modes, how in-cluster Services are exposed over the link, and cost.

Part of #44 ## Question What are the options for a private, authenticated link between the Owner's home network (Home Assistant, LAN Bots) and a self-managed Kubernetes cluster on Linode? Compare Tailscale (incl. the Kubernetes operator / subnet routers), Headscale, plain WireGuard site-to-site, and Linode VPC features: setup, security model, failure modes, how in-cluster Services are exposed over the link, and cost.
bobby added the wayfinder:research label 2026-11-23 16:05:22 -05:00
bobby added a new dependency 2026-11-23 16:05:34 -05:00
bobby added a new dependency 2026-11-23 16:05:35 -05:00
Author
Owner

Research findings

  • Linode VPC can't provide this. A VPC is limited to one data center, has no VPN or on-prem attachment and no peering, and its traffic is not encrypted. Akamai has no managed site-to-site VPN. VPC is only useful for traffic inside the cluster.
  • Tailscale + Kubernetes operator is the lowest-effort fit. You can expose a Bot-facing Service only to the tailnet with tailscale.com/expose: "true" or loadBalancerClass: tailscale. It is not public unless you turn on Funnel. Home Assistant joins through the community add-on, which can also act as a subnet router for other LAN Bots. Access rules (grants) deny by default and support policy tests. The free Personal plan (6 users, 50 tagged resources) is plenty.
  • Surprise: Tailnet Lock doesn't work with the operator. Tailnet Lock is the defense against a compromised Tailscale control plane, and the operator can't sign the proxy nodes it creates (tailscale#13273, still open). Using the operator therefore means trusting Tailscale's coordination server.
  • Headscale takes Tailscale out of the trust base. Operator compatibility (OAuth clients on the v2 API, headscale PR #3334) was merged for v0.30.0, but the latest release is v0.29.7. You would also have to host and secure the control server yourself, and hosting it inside the cluster creates a circular dependency.
  • Plain WireGuard has the smallest attack surface: it doesn't respond to unauthenticated packets and uses static keys. You handle key management, routing into the cluster, and HA yourself. There is no relay fallback.

Tentative recommendation: Tailscale with the operator, using an L3 Service for a Bot-facing listener that the public Ingress never routes to, plus tagged nodes and a tight grants policy. Bots still authenticate at the app layer. If a third-party control plane isn't acceptable, use plain WireGuard now or wait for Headscale v0.30.0.

Open questions for the Owner: is trusting Tailscale's control plane acceptable? Can LAN Bots run a client, or will they sit behind a subnet router (SNAT hides per-Bot source IPs)? Is the home public IP stable?

Context: branch research/private-home-cluster-link, file docs/research/private-home-cluster-link.md. It has sourced claims, a comparison table, failure modes and costs:
https://git.bobbypalko.com/bobby/hapi/src/branch/research/private-home-cluster-link/docs/research/private-home-cluster-link.md

## Research findings - **Linode VPC can't provide this.** A VPC is limited to one data center, has no VPN or on-prem attachment and no peering, and its traffic is **not encrypted**. Akamai has no managed site-to-site VPN. VPC is only useful for traffic inside the cluster. - **Tailscale + Kubernetes operator is the lowest-effort fit.** You can expose a Bot-facing Service only to the tailnet with `tailscale.com/expose: "true"` or `loadBalancerClass: tailscale`. It is not public unless you turn on Funnel. Home Assistant joins through the community add-on, which can also act as a subnet router for other LAN Bots. Access rules (grants) deny by default and support policy `tests`. The free Personal plan (6 users, 50 tagged resources) is plenty. - **Surprise: Tailnet Lock doesn't work with the operator.** Tailnet Lock is the defense against a compromised Tailscale control plane, and the operator can't sign the proxy nodes it creates (tailscale#13273, still open). Using the operator therefore means trusting Tailscale's coordination server. - **Headscale** takes Tailscale out of the trust base. Operator compatibility (OAuth clients on the v2 API, headscale PR #3334) was merged for v0.30.0, but **the latest release is v0.29.7**. You would also have to host and secure the control server yourself, and hosting it inside the cluster creates a circular dependency. - **Plain WireGuard** has the smallest attack surface: it doesn't respond to unauthenticated packets and uses static keys. You handle key management, routing into the cluster, and HA yourself. There is no relay fallback. **Tentative recommendation:** Tailscale with the operator, using an L3 Service for a Bot-facing listener that the public Ingress never routes to, plus tagged nodes and a tight grants policy. Bots still authenticate at the app layer. If a third-party control plane isn't acceptable, use plain WireGuard now or wait for Headscale v0.30.0. Open questions for the Owner: is trusting Tailscale's control plane acceptable? Can LAN Bots run a client, or will they sit behind a subnet router (SNAT hides per-Bot source IPs)? Is the home public IP stable? **Context:** branch `research/private-home-cluster-link`, file `docs/research/private-home-cluster-link.md`. It has sourced claims, a comparison table, failure modes and costs: https://git.bobbypalko.com/bobby/hapi/src/branch/research/private-home-cluster-link/docs/research/private-home-cluster-link.md
bobby closed this issue 2026-11-23 16:09:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#46