OpenVPN TLS handshake fail
I followed this tutorial to setup a VPN server.
However, then I try to connect with it, it gaves a handshake failure. I tried to see with ngrep if the server was receiving any requests, and it is. So, the problem is somewhere in the client.
I guess that I messed up somewhere in following the tutorial but I don’t know where. I tried to change to TCP and to port 443 and no results.
My client config:
proto tcp (tried UDP and TCP and same result)
remote <ip> 443
My server config:
key server.key # This file should be kept secret
server 10.8.0.0 255.255.255.0
push “redirect-gateway def1 bypass-dhcp”
push “dhcp-option DNS 220.127.116.11”
push “dhcp-option DNS 18.104.22.168”
keepalive 10 120
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.