I set up a OpenVPN
Server on Centos 7
and it is running perfectly. However, I could not connect to it from Windows 10
client and receive errors below:
Fri Oct 7 21:10:32 2022 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Oct 7 21:10:32 2022 TLS Error: TLS handshake failed
As you can see my OpenVPN Server's status is active
:
What I totally done, was copying these file from server to client machine:
ca.crt
client.crt
client.key
myvpn.tlsauth
To client server and creating client.ovpn
file:
client
tls-client
ca D:\\OpenVPN\\ca.crt
cert D:\\OpenVPN\\client.crt
key D:\\OpenVPN\\client.key
tls-crypt D:\\OpenVPN\\myvpn.tlsauth
remote-cert-eku "TLS Web Client Authentication"
proto udp
remote 82.180.137.124 1194 udp
dev tun
topology subnet
pull
data-ciphers-fallback AES-256-CBC
If somthing else need to be shared, let me know.