Can't get my OpenVpn client to connect

Posted by Larry on Server Fault See other posts from Server Fault or by Larry
Published on 2010-10-19T00:18:38Z Indexed on 2011/01/13 0:55 UTC
Read the original article Hit count: 828

Filed under:

Hi Guys, I am trying to setup a test vpn between my home desktop and my laptop. So far I have got the server on the desktop to connect fine but I can not get my laptop to finish the connection. I have tried several different configurations and they all give me the same result. Obviously it has nothing to do with my Client configuration but possibly something on my laptop?

Here is the message I get in the log when it stops then times out and restarts.

Mon Oct 18 20:10:55 2010 UDPv4 link local: [undef] Mon Oct 18 20:10:55 2010 UDPv4 link remote: 74.190.29.236:1194 Mon Oct 18 20:11:55 2010 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Mon Oct 18 20:11:55 2010 TLS Error: TLS handshake failed

here are my configurations

server.ovpn

port 1194

proto udp

dev tun

ca ca.crt cert server.crt key server.key

dh dh1024.pem

server 10.8.0.1 255.255.255.252

ifconfig-pool-persist ipp.txt

push "route 10.0.0.1 255.255.255.0" push "dhcp-option WINS 10.0.0.5" push "dhcp-option DNS 10.0.0.5" push "dhcp-option DOMAIN acme.com.local" keepalive 10 120 comp-lzo max-clients 1 persist-key persist-tun status openvpn-status.log verb 3

LArry.ovpn

client

proto udp

dev tun

remote doublel.hopto.org 1194

resolv-retry infinite

nobind

persist-key

persist-tun

ca ca.crt

cert client1.crt

key client1.key

comp-lzo

verb 3

dev tun local 206.162.148.9 remote 134.28.54.2 ifconfig 192.168.99.1 192.168.99.2 route 10.0.0.0 255.0.0.0 192.168.99.2

I just need a simple vpn for one user. Am I headed down the right path?

Thanks, Larry

© Server Fault or respective owner

Related posts about openvpn