Difference between revisions of "OpenVPN Guide Windows"

From CipherSpace Client Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 9: Line 9:
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.
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 7 operating system. For other Windows versions, the layout may be different, but the principles remain the same.
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==
==OpenVPN Client Installation==


The OpenVPN Client Installer can be found at https://openvpn.net/index.php/open-source/downloads.html. Make sure to download the version corresponding to your Windows version as well as architecture (32-bit or 64-bit).
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:
Once the download is finished, run the installer. You may get the following warning:


[[File:OpenVPN_Win_Install_1.png|400px]]
[[File:OpenVPN_Win_Install_1.png|400px|border]]




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


[[File:OpenVPN_Win_Install_2.png|450px]]  
[[File:OpenVPN_Win_Install_2.png|500px|border]]




Click on “Next >”. The License Agreement screen is displayed:
Click on “Next >”. The License Agreement screen is displayed:
 
[[File:OpenVPN_Win_Install_3.png|450px]]  
[[File:OpenVPN_Win_Install_3.png|500px|border]]


Click on “I Agree” to continue.
Click on “I Agree” to continue.
Line 35: Line 35:
The next screen asks you to choose components to install:
The next screen asks you to choose components to install:


[[File:OpenVPN_Win_Install_4.png|450px]]  
[[File:OpenVPN_Win_Install_4.png|500px|border]]


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




The next screen asks you for the installation location:
The next screen asks you for the installation location:


[[File:OpenVPN_Win_Install_5.png|450px]]  
[[File:OpenVPN_Win_Install_5.png|500px|border]]


This guide assumes that you will install the OpenVPN client under <code>C:\Program Files\OpenVPN</code>, as it is going to refer to it later on. If you want to change the install location, make sure to remember it afterwards.


Click on “Install”. The installation starts:


Click on “Install”. The installation starts:
[[File:OpenVPN_Win_Install_6.png|500px|border]]


[[File:OpenVPN_Win_Install_6.png|450px]]


The installer may ask you to confirm the installation of the TAP Virtual Ethernet Adapter:
The installer may ask you to confirm the installation of the TAP Virtual Ethernet Adapter:
[[File:OpenVPN_Win_Install_7.png|450px]]


Click on “Install”.  
[[File:OpenVPN_Win_Install_7.png|500px|border]]
 
Click on “Install”.


The installation continues:
The installation continues:


[[File:OpenVPN_Win_Install_8.png|450px]]  
[[File:OpenVPN_Win_Install_8.png|500px|border]]
 


Click on “Next >” to finish the installation:
Click on “Next >” to finish the installation:
 
[[File:OpenVPN_Win_Install_9.png|450px]]  
[[File:OpenVPN_Win_Install_9.png|500px|border]]




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


==Configuration File Installation==
At this point, install (copy) the configuration file we sent you into the directory <code>C:\Program Files\OpenVPN\config</code>:
[[File:OpenVPN_Win_Config_1.png|600px]]


When installing the file, you may get the following warning:
==CipherSpace Configuration Installation==


[[File:OpenVPN_Win_Config_2.png|400px]]
Open a Windows Explorer window, go to <code>C:\Users\<user>\OpenVPN\config\</code>
(where <code><user></code> is your Windows username) and copy the file (or files) you have received from us.


Click on “Continue”:
[[File:OpenVPN_Win_Config_1.png|600px|border]]
 
[[File:OpenVPN_Win_Config_3.png|600px]]
 
 
Before you can use the OpenVPN client, you must make sure that the program will always be run as an administrator.
 
Navigate to the directory <code>C:\Program Files\OpenVPN\bin</code>:
 
[[File:OpenVPN_Win_Config_4.png|600px]]
 
Right-click on the file “openvpn-gui.exe”:
 
[[File:OpenVPN_Win_Config_5.png|600px]]
 
And select “Properties”.
 
[[File:OpenVPN_Win_Config_6.png|350px]]
 
Click on the tab “Compatibility”:
 
[[File:OpenVPN_Win_Config_7.png|350px]]
 
And under “Privilege Level” check the box “Run this program as an administrator”. If there are other users who need to access the OpenVPN client, click on “Change settings for all users”, otherwise click on “OK”.
 
You are now ready to run the OpenVPN client.




Line 121: Line 83:


[[File:OpenVPN_Win_Run_1.png|37px]]
[[File:OpenVPN_Win_Run_1.png|37px]]
You may get the following warning:
[[File:OpenVPN_Win_Run_2.png|400px]]
Click on “Yes” to continue.




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


[[File:OpenVPN_Win_Run_3.png|37px]]  
[[File:OpenVPN_Win_Run_3.png|37px]]


If you don’t, follow the instructions described [[#Make the OpenVPN Icon Visible|here]]  
If you don’t, follow the instructions described [[#Make the OpenVPN Icon Visible|here]]


When you can see the OpenVPN GUI icon ([[File:OpenVPN_Win_Run_11.png|20px]]), double-click on it and the connection will start.
When you can see the OpenVPN GUI icon ([[File:OpenVPN_Win_Run_11.png|20px]]), double-click on it and the connection will start.


[[File:OpenVPN_Win_Run_7.png]]  
[[File:OpenVPN_Win_Run_7.png|500px|border]]


Type the password you have received from us in the “Enter Password” and click on “OK”.  
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.
The connection continues.


[[File:OpenVPN_Win_Run_8.png]]  
[[File:OpenVPN_Win_Run_8.png|500px|border]]
 


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


[[File:OpenVPN_Win_Run_9.png]]  
[[File:OpenVPN_Win_Run_9.png|250px|border]]
 


And the OpenVPN icon is now green.
And the OpenVPN icon is now green.
Line 162: Line 117:
To disconnect the VPN connection, double-click on the OpenVPN icon (green):
To disconnect the VPN connection, double-click on the OpenVPN icon (green):


[[File:OpenVPN_Win_Run_10.png]]  
[[File:OpenVPN_Win_Run_10.png|500px|border]]
 


And click on “Disconnect”.
And click on “Disconnect”.
Line 172: Line 127:
Open the “Control Panel”:
Open the “Control Panel”:


[[File:OpenVPN_Win_Run_4.png]]
[[File:OpenVPN_Win_Run_12.png|600px|border]]
 
 
In the “Search Control Panel” field, type “Notification area”:
 
[[File:OpenVPN_Win_Run_13.png|600px|border]]
 
 
And click on “Taskbar and Navigation”.
 
[[File:OpenVPN_Win_Run_14.png|600px|border]]


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


[[File:OpenVPN_Win_Run_5.png]]
Scroll until you find the “Notification area” and click on "Select which icons appear on the taskbar":


And click on “Notification Area Icons”. Scroll until you find the “OpenVPN GUI for Windows” icon:
[[File:OpenVPN_Win_Run_15.png|400px|border]]


[[File:OpenVPN_Win_Run_6.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.
Look for "OpenVPN GUI for Windows", move the switch button to "on" and close the "Control Panel". The OpenVPN icon will be now visible at the bottom right of your screen.

Latest revision as of 11:37, 10 August 2017


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”.


CipherSpace Configuration Installation

Open a Windows Explorer window, go to C:\Users\<user>\OpenVPN\config\ (where <user> is your Windows username) and copy the file (or files) you have received from us.

OpenVPN Win Config 1.png


Running OpenVPN

(including for the first time)

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

OpenVPN Win Run 1.png


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), double-click on it 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 12.png


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

OpenVPN Win Run 13.png


And click on “Taskbar and Navigation”.

OpenVPN Win Run 14.png


Scroll until you find the “Notification area” and click on "Select which icons appear on the taskbar":

OpenVPN Win Run 15.png


Look for "OpenVPN GUI for Windows", move the switch button to "on" and close the "Control Panel". The OpenVPN icon will be now visible at the bottom right of your screen.