OpenVPN noob here. I'm looking to expand my VPN capabilities, and setting up OpenVPN on my DD-WRT router sounded like a good option. I think I've worked myself through a couple of very basic problems, but I have no idea how to handle the issues I'm now facing.
All certs and keys are created on my laptop, the machine I'll be using for VPN access on the road. I've uploaded the necessary info to my router via my home network and been testing the connection via phone tether (though attempting to connect to the VPN while still on my home WiFi has yielded the same results).
I've basically been following
this guide.
Any tips or direction would be greatly appreciated.
Server config:
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 192.168.66.1"
server 192.168.66.0 255.255.255.0
dev tun0
proto udp
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
Server log:
Jan 28 14:05:57 WNDR4000 daemon.notice openvpn[10069]: 192.168.1.3:53484 Re-using SSL/TLS context
Jan 28 14:06:57 WNDR4000 daemon.err openvpn[10069]: 192.168.1.3:53484 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jan 28 14:06:57 WNDR4000 daemon.err openvpn[10069]: 192.168.1.3:53484 TLS Error: TLS handshake failed
Jan 28 14:06:58 WNDR4000 daemon.notice openvpn[10069]: 192.168.1.3:51119 Re-using SSL/TLS context
Jan 28 14:07:58 WNDR4000 daemon.err openvpn[10069]: 192.168.1.3:51119 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jan 28 14:07:58 WNDR4000 daemon.err openvpn[10069]: 192.168.1.3:51119 TLS Error: TLS handshake failed
Client log:
Mon Jan 28 06:05:53 2013 OpenVPN 2.3.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Jan 8 2013
Mon Jan 28 06:05:54 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Jan 28 06:05:54 2013 UDPv4 link local: [undef]
Mon Jan 28 06:05:54 2013 UDPv4 link remote: [AF_INET]XX.X.XXX.XX:1194
Mon Jan 28 06:06:54 2013 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Jan 28 06:06:54 2013 TLS Error: TLS handshake failed
Mon Jan 28 06:06:54 2013 SIGUSR1[soft,tls-error] received, process restarting