OpenVPN Guide Windows

From CipherSpace Client Wiki
Jump to navigation Jump to search


Introduction

This guide will explain how to install the OpenVPN client on your PC as well as how to execute it in order to access your virtual machines that aren’t accessible from the Internet.

This guide assumes that you have some experience with Windows and that you have administrative rights on the computer on which the client will be installed.

N.B.: This guide is for a Windows 10 operating system. For other Windows versions, the layout may be different, but the principles remain the same.


OpenVPN Client Installation

The OpenVPN Client Installer can be found at https://openvpn.net/index.php/open-source/downloads.html.

Once the download is finished, run the installer. You may get the following warning:

OpenVPN Win Install 1.png


Click on “Yes” to continue. The following screen appears:

OpenVPN Win Install 2.png


Click on “Next >”. The License Agreement screen is displayed:

OpenVPN Win Install 3.png

Click on “I Agree” to continue.


The next screen asks you to choose components to install:

OpenVPN Win Install 4.png

Leave the chosen components unchanged and click on “Next >”.


The next screen asks you for the installation location:

OpenVPN Win Install 5.png


Click on “Install”. The installation starts:

OpenVPN Win Install 6.png


The installer may ask you to confirm the installation of the TAP Virtual Ethernet Adapter:

OpenVPN Win Install 7.png

Click on “Install”.

The installation continues:

OpenVPN Win Install 8.png


Click on “Next >” to finish the installation:

OpenVPN Win Install 9.png


Deselect the “Show Readme” and click on “Finish”.


Running OpenVPN

(including for the first time)

Double-click on the “OpenVPN GUI” icon on your desktop:

OpenVPN Win Run 1.png


You will get the following error:

OpenVPN Win Run 2.png


Click on “Yes” to continue.

You should now see the following icon at the bottom right of your screen:

OpenVPN Win Run 3.png

If you don’t, follow the instructions described here

When you can see the OpenVPN GUI icon (OpenVPN Win Run 11.png), right-click on it and select "Import file...".

OpenVPN Win Run 4.png


A new window will open:

OpenVPN Win Run 5.png


Look for the configuration file you've received from CipherSpace and click on "Open". You should then receive the following message:

OpenVPN Win Run 6.png


You can now start OpenVPN.

Double-click on the OpenVPN GUI icon (OpenVPN Win Run 11.png) and the connection will start.

OpenVPN Win Run 7.png

Type the password you have received from us in the “Enter Password” field and click on “OK”. You can also select "Save Password"


The connection continues.

OpenVPN Win Run 8.png


Then the above window closes and you will see a similar message:

OpenVPN Win Run 9.png


And the OpenVPN icon is now green.


You should now test the VPN connection by opening a command window, (Click on “Start” then under “Search programs and files” type “cmd”) and type “ping xxx.xxx.xxx.xxx”, where xxx.xxx.xxx.xxx is the IP address of a virtual machine, which is not published on the Internet. If you cannot access the virtual machine, please contact us.


To disconnect the VPN connection, double-click on the OpenVPN icon (green):

OpenVPN Win Run 10.png


And click on “Disconnect”.


Make the OpenVPN Icon Visible

Open the “Control Panel”:

OpenVPN Win Run 11.png


In the “Search Control Panel” field, type “Notification”:

OpenVPN Win Run 12.png


And click on “Notification Area Icons”. Scroll until you find the “OpenVPN GUI for Windows” icon:

OpenVPN Win Run 13.png


Under “Behaviors”, select “Show icon and notifications” and then "OK". The OpenVPN icon will be now visible at the bottom right of your screen.