pieterlange / kube-openvpn

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

webserver on master node inaccessible #41

Closed rushabhnagda11 closed 7 years ago

rushabhnagda11 commented 7 years ago

I'm running a webserver on port 8081 of master. This is not a k8s pod.

From within the openvpn pod, I can run telnet master_ip 8081 and curl master_ip:8081 and it will connect. However, from my local system, telnet master_ip 8081 and curl master_ip:8081 does not work. From my understanding, anything accessible from within the pod, should be accessible to my local system when I'm connected to the VPN yes?

rushabhnagda11 commented 7 years ago

this is working now. In my route push, i had kept the service cidr as 10.0.0.0/16, however my master ip was 10.240.255.5, making it as 10.0.0.0/8 made it work. Thanks.