I own a root server with 1 static ip which I use as an Internet gateway server. For three month my Openvpn server config was running properly but since a few days I cannot connect to the Openvpn anymore. I talked to the hosting company and they told me that their government is now blocking ICMP pings. The result is I cannot ping my server anymore. I tried to change the openvpn port but wasn't successful yet. I never get the "Initialization Sequence Complete" status message anymore, instead I see this:
Code: Select all
Sun Dec 19 03:23:17 2011 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Dec 19 03:23:17 2011 TLS Error: TLS handshake failed
I'm totally clueless about the problem and I need some advice what to do now. How can I make the Openvpn server work again? Any help is highly appreciated.
Here is the server conf:
Code: Select all
server 10.8.0.0 255.255.255.0
dev tun
port 1194
proto udp
ca ca.crt
cert mycert.crt
key mykey.key
dh dh1024.pem
comp-lzo
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222" #OpenDNS
push "dhcp-option DNS 208.67.220.220"
ping-timer-rem
keepalive 10 120
persist-key
persist-tun
verb 3
mute 50
Code: Select all
client
remote <static-ip> 1194
proto udp
dev tun
comp-lzo
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
verb 3
mute 50