You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
blogcontent/blog/content/posts/vpn-on-kubernetes.md

1.2 KiB

title date tags
VPN on Kubernetes 2022-12-15T22:28:24-08:00 [homelab k8s]

I was surprised to find that there's not much discussion of putting Kubernetes pods behind a VPN. Given how useful both tools are, you'd think more people would use them in concert.

The only guide I could find was this, which sadly links to a deprecated and Read-only repo. Thankfully, the charts still work, though I had to do some extra tweaking and digging around in values to get them to work. You can see here the commit where I introduce and test the VPN1, though I haven't yet tried putting any "real" services behind it - just a single pod for testing that the connection is intercepted correctly. It looks like opening up ports for service isn't too hard, though!


  1. On ProtonVPN's implementation of OpenVPN only. I don't have access to other VPN providers and I'm not going to pay for them just to test; and I wasn't able to get Wireguard to work, despite it being an apparently simpler protocol.