Configure the OpenVPN Client and Connect to your OpenVPN Server
Once the client is installed, navigate to c:\Program Files\OpenVPN\Config.
Your OpenVPN server administrator should have provided you with the required certificates and config file to connect to the OpenVPN server, they should include files like the ones in the screenshot below.
The .ovpn file is OpenVPN’s configuration file which looks like this:
# Is this end the client or the server
# VPN device Type tun/tap
# Protocol to communicate over
# VPN Server address & listen port
remote myvpnserver.work.org 1194
# Keep retrying forever in case of connection failure
# Do not bind to local address and port.
# Don’t re-read key files across SIGUSR1 or –ping-restart.
# Don’t close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or –ping-restart
# Take the TUN device MTU to be n and derive the link MTU from it (default=1500).
# Path to VPN Server certificate authority Certificate
# Path to this VPN Clients Authentication Certificate
# Path to this VPN Clients private key
# Compress VPN Traffic
Place these files in the c:\Program Files\OpenVPN\Config directory, all in the same directory. Open the ovpn config file and ensure that for the ca, cert, and key parameters, there are no paths specified, just the filename.
Once that’s done, launch the OpenVPN Gui. An icon like the one in the image below will appear in your notification tray.
Right-Click on that icon and click on Connect to connect OpenVPN.
Once the icon turns green, OpenVPN is connected!