pieterlange / kube-openvpn

:closed_lock_with_key: Kubernetes native OpenVPN
MIT License
383 stars 57 forks source link

Accessing nodes by ssh #37

Closed cemo closed 7 years ago

cemo commented 7 years ago

I can access services on my k8s cluster and ping pods but I can not ssh nodes where services are locating. I can also not access database services which are outside of the cluster but inside in the same subnet. How can I configure to access them?

pieterlange commented 7 years ago

https://github.com/pieterlange/kube-openvpn/blob/master/docs/FAQ.md#i-want-to-route-all-traffic-through-the-vpn

cemo commented 7 years ago

I had actually checked it too. Sorry to bother. Thanks for your time.

pieterlange commented 7 years ago

No problem. You can ping me on the kubernetes slack as well :)

pieterlange commented 7 years ago

You can now also add the host IP range to $OVPN_ROUTES so you can SSH to the hosts, without having to route ALL traffic through the VPN. (See 49a3dbb78b0de790ce10f2a12be3747200e44da3)