Locked History Actions

Diff for "OpenVpnWin7"

Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2013-04-16 06:14:19
Size: 722
Editor: akrevl
Comment:
Revision 9 as of 2013-04-18 18:10:46
Size: 2508
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 ==
Line 10: Line 9:
[[01.png]] '''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:
Line 12: Line 11:
2. Run the installer  * 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 14: Line 14:
3. Select the default components {{attachment:01.png}}
Line 16: Line 16:
[[03.png]] '''2)''' Run the OpenVPN installer.
Line 18: Line 18:
4. Install the drivers the installer asks for '''3)''' Choose the default selection of components when asked.
Line 20: Line 20:
[[04.png]] {{attachment:03.png}}
Line 22: Line 22:
5. Run the StartOpenVPN.bat '''4)''' Allow the installation of all the drivers the installation wizard wants to install.
Line 24: Line 24:
6. Agree to run the connection with the Administrative privileges {{attachment:04.png}}
Line 26: Line 26:
[[05.png]] == Set up the connection ==
Line 28: Line 28:
7. The connection should now be running. Please leave the command prompt window open. '''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 30: Line 30:
[[06.png]] There are two options to start the connection:
Line 32: Line 32:
8. If you want to terminate the connection, switch back to the command prompt and press F4.  * From the command line
 * From the OpenVPN GUI

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

{{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}}

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:

  • From the command line
  • From the OpenVPN GUI

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