TLS Error: TLS handshake failed

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.
Locked
Steeven
OpenVpn Newbie
Posts: 5
Joined: Mon May 28, 2018 3:17 pm

TLS Error: TLS handshake failed

Post by Steeven » Mon May 28, 2018 3:31 pm

Hi,

I try to connect to a Windows 2012 R2 Server hosted in VMWare from a Windows 10 Client. The firewalls are configured with the UDP and TCP ports number 1194 open and when I connect with OpenVPN I have the following messages : TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity); TLS Error: TLS handshake failed

Could you help me please?
Thanks

bbuckm
OpenVPN User
Posts: 39
Joined: Thu Apr 26, 2018 2:45 pm

Re: TLS Error: TLS handshake failed

Post by bbuckm » Mon May 28, 2018 4:09 pm

I did something very similar. OpenVPN on an Amazon AWS EC2 instance running WIndows Server 2016. Client was OpenVPN running on a WIndows 10 PC. There were a few weird tricks I had to include.

Steeven
OpenVpn Newbie
Posts: 5
Joined: Mon May 28, 2018 3:17 pm

Re: Doesn't have a valide IP configuration

Post by Steeven » Wed May 30, 2018 3:05 pm

Hi,

I find the reason of the previous error. The problem come from the TAP-WINDOWS Adapter (version 9) who doesn't have a valid IP configuration. Instead of the re install, deactivation or reboot server, the issue is not resolved

If someone has an idea? Thanks

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: TLS Error: TLS handshake failed

Post by TinCanTech » Wed May 30, 2018 3:26 pm

We have no information to work with .....

Please see:
HOWTO: Request Help !

bbuckm
OpenVPN User
Posts: 39
Joined: Thu Apr 26, 2018 2:45 pm

Re: Doesn't have a valide IP configuration

Post by bbuckm » Wed May 30, 2018 5:04 pm

Steeven wrote:
Wed May 30, 2018 3:05 pm
If someone has an idea? Thanks
Please see the sample configuration for Windows 2016 I posted in the other thread. It might give you some ideas.

Steeven
OpenVpn Newbie
Posts: 5
Joined: Mon May 28, 2018 3:17 pm

Re: TLS Error: TLS handshake failed

Post by Steeven » Mon Jun 04, 2018 1:49 pm

Hi,
the issue is solved
the problem came from the firewall on the gateway who blocked the UDP protocol. I just need to declare the 1194 port with UDP protocol into the gateway config panel (in a local network) or declare the public IP of the OpenVPN server with the same port for UDP protocol.

Thanks!

Locked