TLS handshake failed - please Help me! ;)

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
evo-5
OpenVpn Newbie
Posts: 2
Joined: Wed Sep 29, 2010 12:35 pm

TLS handshake failed - please Help me! ;)

Post by evo-5 » Wed Sep 29, 2010 12:54 pm

Hi,
I have a problem with my config.

Scenario:
I want a secure connection to my Linux Server (for proxy, db maintain...) ( Server name: evo1)
My local Pc is a Windows 7 with the openvpn GUI.

So here is my error msg:

Code: Select all

Thu Sep 30 00:28:48 2010 us=384542 217.187.186.17:56979 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Sep 30 00:28:48 2010 us=384580 217.187.186.17:56979 TLS Error: TLS handshake failed
Thu Sep 30 00:28:48 2010 us=384694 217.187.186.17:56979 SIGUSR1[soft,tls-error] received, client-instance restarting
Thu Sep 30 00:36:02 2010 us=625587 event_wait : Interrupted system call (code=4)
Thu Sep 30 00:36:02 2010 us=626293 TCP/UDP: Closing socket
Thu Sep 30 00:36:02 2010 us=626345 /sbin/ip route del 10.8.0.0/24
Thu Sep 30 00:36:02 2010 us=627548 Closing TUN/TAP interface
Thu Sep 30 00:36:02 2010 us=627651 /sbin/ip addr del dev tun0 local 10.8.0.1 peer 10.8.0.2
Thu Sep 30 00:36:02 2010 us=674496 SIGINT[hard,] received, process exiting
My Server config:

Code: Select all

port 1194
proto udp
mode server
tls-server
dev tun

#tun-mtu 1500
#fragment 1300
#mssfix

server 10.8.0.0 255.255.255.0
#ifconfig-pool 10.0.0.2 10.0.0.254
ifconfig-pool-persist ipp.txt

ca /etc/openvpn/vpn-ca.pem
cert /etc/openvpn/servercert.pem
key /etc/openvpn/serverkey.pem
dh /etc/openvpn/dh1024.pem

keepalive 10 120

auth SHA1
#cipher AES-256-CBC

comp-lzo
#user nobody
#group nogroup
#persist-key
#persist-tun
verb 5
and here my client:

Code: Select all

client

dev tun
remote evo1 1194
resolv-retry infinite
nobind

persist-key
persist-tun

ca C:\\Users\\evo\\openvpn\\vpn-ca.pem
cert C:\\Users\\evo\\openvpn\\client1cert.pem
key  C:\\Users\\evo\\openvpn\\client1key.pem
auth SHA1
#cipher AES-256-CBC
comp-lzo
verb 3
I have read the FAQ on openVPN.net
- I have no IPTABLES
- Other Firewalls are disabled
- I think the IP Address in my client config is OK.. Same error if I use the real IP 88.80.X.X
- My local IP on my Client Network is 192.168.25.xx... Can I use on the Server a IP like 10.10.0.0/24?

Thanks for all answers ;)
and sorry for my bad English ;)

bye evo

evo-5
OpenVpn Newbie
Posts: 2
Joined: Wed Sep 29, 2010 12:35 pm

Re: TLS handshake failed - please Help me! ;)

Post by evo-5 » Thu Sep 30, 2010 11:22 am

-> CLOSED!

I think i got the error. Wrong times on the computers ;)

Post Reply