OpenVPN is a VPN system that works on many different clients. This guide will go through getting started with the Windows client, others will be very similar.
The first thing you need to do is install the Windows OpenVPN client. This can be downloaded at – http://openvpn.net/index.php/access-server/download-openvpn-as-sw/357.html
Once installed we need to get the certificates for our OpenVPN connection. By default 3 files are created. These are –
(The fact that they are called tplink is unimportant. They will work with any OpenVPN client)
We want to copy these files to our OpenVPN config folder. We are going to use WinSCP for this. We need to start WinSCP as an Administrator so that it can write to the OpenVPN config folder –
Next log in to your VPS using the root password provided –
Now copy the 3 files above from “/etc/openvpn/keys” to “c:\program files\OpenVPN\config” –
Finally you need to edit the file “c:\program files\OpenVPN\config\client.ovpn”. I recommend using something like Notepad++ to retain the formatting. The file should contain the following settings –
You should change the ‘remote’ line to be the IP address of your VPS.
If all that worked OK we should now be able to connect to our VPS using OpenVPN –
and ping the IP of our VPS over the VPN –