OpenVPN GUI:Connection to client has failed on Windows

OpenVPN Connection to client has failed

Connection to Client has failed

There is something blocking the connection to the OpenVPN server. Here are the steps to solve this isssue.


Check the log files


Check your Firewall


Open your client.conf file and make sure that the paths to your certificates are absolute path
replace for example:
key client.key with
key "c:\\Program Files\\OpenVPN\\config\\client.key"