Locked History Actions

Diff for "OpenVpnWin7"

Differences between revisions 2 and 12 (spanning 10 versions)
Revision 2 as of 2013-04-16 06:15:36
Size: 733
Editor: akrevl
Comment:
Revision 12 as of 2013-04-18 20:01:25
Size: 2619
Editor: akrevl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Quick howto = = OpenVPN on Windows =
Line 3: Line 3:
Windows 7, 64 bit This howto was prepared and tested on Windows 7, 64 bit and Windows 7 32 bit.
Line 5: Line 5:
1. Download the client <<TableOfContents()>>
Line 7: Line 7:
Download the client here from here: http://openvpn.net/index.php/open-source/downloads.html  Direct link: http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.1-I001-x86_64.exe == Install the client ==

'''1)'''
Download the OpenVPN client from here: http://openvpn.net/index.php/open-source/downloads.html. You can also use the direct download links below:

 * Windows 7 64 bit
: http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.1-I001-x86_64.exe.
 * Windows 7 32 bit: http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.1-I001-i686.exe
Line 12: Line 16:
2. Run the installer '''2)''' Run the OpenVPN installer.
Line 14: Line 18:
3. Select the default components '''3)''' Choose the default selection of components when asked.
Line 16: Line 20:
[[03.png]] {{attachment:03.png}}
Line 18: Line 22:
4. Install the drivers the installer asks for '''4)''' Allow the installation of all the drivers the installation wizard wants to install.
Line 20: Line 24:
[[04.png]] {{attachment:04.png}}
Line 22: Line 26:
5. Run the StartOpenVPN.bat == Set up the connection ==
Line 24: Line 28:
6. Agree to run the connection with the Administrative privileges '''5)''' If you have not done this already this would be a great time to unzip the file containing your certificate and the connection configuration. Use the file named ''USERNAME_win.zip''.
Line 26: Line 30:
[[05.png]] There are two options to start the connection:
Line 28: Line 32:
7. The connection should now be running. Please leave the command prompt window open.  # From the [[#Command line]]
 # From the [[#OpenVPN GUI]]
Line 30: Line 35:
[[06.png]] === Command line ===
Line 32: Line 37:
8. If you want to terminate the connection, switch back to the command prompt and press F4. '''6a)''' Run the StartOpenVPN.bat that you extracted from the ZIP file in step 5.

'''7a)''' Agree to run the command with the Administrative privileges.

{{attachment:05.png}}

'''8a)''' The connection should now be running. Please leave the command prompt window open to stay connected.

{{attachment:06.png}}

'''9a)''' If you want to terminate the connection switch back to the command prompt and press ''F4''.

=== OpenVPN GUI ===

'''6b)''' Run the SetupGUI.bat that you extracted from the ZIP file in step 5.

'''7b)''' Agree to run the command with the Administrative privileges.

{{attachment:05.png}}

This will copy the configuration files to C:\Program Files\OpenVPN\config so the GUI component will be able to see them.

'''8b)''' Run the OpenVPN GUI program that was installed in the steps 1-4. Make sure you run the OpenVPN GUI as an Administrator.

{{attachment:07.png}}

'''9b)''' To start a connection right click the OpenVPN GUI icon in the Windows notification area.

{{attachment:08.png}}

If you only have a single OpenVPN connection then select the ''Connect'' option from the menu.

{{attachment:09.png}}

If you configured multiple OpenVPN connections then select the hover over the appropriate connection and select the ''
Connect'' option from the submenu.

{{attachment:10.png}}

'''10b)''' Right click the OpenVPN GUI icon and select ''Disconnect'' to stop the VPN connection.

OpenVPN on Windows

This howto was prepared and tested on Windows 7, 64 bit and Windows 7 32 bit.

Install the client

1) Download the OpenVPN client from here: http://openvpn.net/index.php/open-source/downloads.html. You can also use the direct download links below:

01.png

2) Run the OpenVPN installer.

3) Choose the default selection of components when asked.

03.png

4) Allow the installation of all the drivers the installation wizard wants to install.

04.png

Set up the connection

5) If you have not done this already this would be a great time to unzip the file containing your certificate and the connection configuration. Use the file named USERNAME_win.zip.

There are two options to start the connection:

Command line

6a) Run the StartOpenVPN.bat that you extracted from the ZIP file in step 5.

7a) Agree to run the command with the Administrative privileges.

05.png

8a) The connection should now be running. Please leave the command prompt window open to stay connected.

06.png

9a) If you want to terminate the connection switch back to the command prompt and press F4.

OpenVPN GUI

6b) Run the SetupGUI.bat that you extracted from the ZIP file in step 5.

7b) Agree to run the command with the Administrative privileges.

05.png

This will copy the configuration files to C:\Program Files\OpenVPN\config so the GUI component will be able to see them.

8b) Run the OpenVPN GUI program that was installed in the steps 1-4. Make sure you run the OpenVPN GUI as an Administrator.

07.png

9b) To start a connection right click the OpenVPN GUI icon in the Windows notification area.

08.png

If you only have a single OpenVPN connection then select the Connect option from the menu.

09.png

If you configured multiple OpenVPN connections then select the hover over the appropriate connection and select the Connect option from the submenu.

10.png

10b) Right click the OpenVPN GUI icon and select Disconnect to stop the VPN connection.