ovpn for AWS elb
cemo opened this issue · 4 comments
I have some problems regarding setting up a ovpn file behind AWS ELB. The generated file is unfortunately is not able provide access to our vpn server.
The charts is used by helm in charts repo of kubernetes has a different way of setting up ovpn. See please [setup-certs.sh] [setup-certs.sh]: https://github.com/kubernetes/charts/blob/master/stable/openvpn/templates/config-openvpn.yaml
I also see some logs on my server like:
Sat Feb 18 00:22:24 2017 TCP connection established with [AF_INET]10.2.8.0:64377
Sat Feb 18 00:22:24 2017 10.2.8.0:64377 TCP connection established with [AF_INET]10.2.11.0:50548
Sat Feb 18 00:22:24 2017 10.2.8.0:64377 Connection reset, restarting [0]
Sat Feb 18 00:22:24 2017 10.2.8.0:64377 SIGUSR1[soft,connection-reset] received, client-instance restarting
Sat Feb 18 00:22:24 2017 10.2.11.0:50548 Connection reset, restarting [0]
Sat Feb 18 00:22:24 2017 10.2.11.0:50548 SIGUSR1[soft,connection-reset] received, client-instance restarting
Sat Feb 18 00:22:53 2017 TCP connection established with [AF_INET]10.2.58.1:61093
Sat Feb 18 00:22:53 2017 10.2.58.1:61093 Connection reset, restarting [0]
Sat Feb 18 00:22:53 2017 10.2.58.1:61093 SIGUSR1[soft,connection-reset] received, client-instance restarting
Sat Feb 18 00:22:53 2017 TCP connection established with [AF_INET]10.2.27.0:11860
Sat Feb 18 00:22:53 2017 10.2.27.0:11860 TCP connection established with [AF_INET]10.2.11.0:22752
Sat Feb 18 00:22:53 2017 10.2.27.0:11860 Connection reset, restarting [0]
Sat Feb 18 00:22:53 2017 10.2.27.0:11860 SIGUSR1[soft,connection-reset] received, client-instance restarting
Sat Feb 18 00:22:53 2017 TCP connection established with [AF_INET]10.2.8.0:16462
But I have poor knowledge of VPN and don't know the details. Would you help me please? :)
In order to help you i'd like you to reproduce how you have set up kube-openvpn and how you generated your client configuration.
The client logs might provide more info as to what's wrong too.
As a last resort you can try starting the deployment with the DEBUG variable set, which will log the entire openvpn initialization and connection setup, but that shouldn't be necessary under normal circumstances.
Was my fault. I had put in a wrong subnet ELB. Found hardly. Thanks.
I remember that I put ELB in a private subnet. ELB should be in public subnet.