<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>OpenVpnWin7</title><revhistory><revision><revnumber>14</revnumber><date>2013-04-18 22:30:28</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>13</revnumber><date>2013-04-18 20:01:57</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>12</revnumber><date>2013-04-18 20:01:25</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>11</revnumber><date>2013-04-18 18:17:28</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>10</revnumber><date>2013-04-18 18:16:47</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>9</revnumber><date>2013-04-18 18:10:46</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>8</revnumber><date>2013-04-18 15:42:51</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>7</revnumber><date>2013-04-17 00:54:35</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>6</revnumber><date>2013-04-17 00:53:32</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>5</revnumber><date>2013-04-16 06:28:02</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>4</revnumber><date>2013-04-16 06:23:35</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>3</revnumber><date>2013-04-16 06:21:53</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>2</revnumber><date>2013-04-16 06:15:36</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>1</revnumber><date>2013-04-16 06:14:19</date><authorinitials>akrevl</authorinitials></revision></revhistory></articleinfo><section><title>OpenVPN on Windows</title><para>This howto was prepared and tested on Windows 7, 64 bit and Windows 7 32 bit. </para><section><title>Install the client</title><para><emphasis role="strong">1)</emphasis> Download the OpenVPN client from here: <ulink url="http://openvpn.net/index.php/open-source/downloads.html"/>. You can also use the direct download links below: </para><itemizedlist><listitem><para>Windows 7 64 bit: <ulink url="http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.1-I001-x86_64.exe"/>. </para></listitem><listitem><para>Windows 7 32 bit: <ulink url="http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.1-I001-i686.exe"/> </para></listitem></itemizedlist><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=01.png"/></imageobject><textobject><phrase>01.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">2)</emphasis> Run the OpenVPN installer. </para><para><emphasis role="strong">3)</emphasis> Choose the default selection of components when asked. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=03.png"/></imageobject><textobject><phrase>03.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">4)</emphasis> Allow the installation of all the drivers the installation wizard wants to install. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=04.png"/></imageobject><textobject><phrase>04.png</phrase></textobject></inlinemediaobject> </para></section><section><title>Set up the connection</title><para><emphasis role="strong">5)</emphasis> 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 <emphasis>USERNAME_win.zip</emphasis>. </para><para>There are two options to start the connection: </para><orderedlist numeration="arabic"><listitem><para>From the <link linkend="Command line">#Command line</link> </para></listitem><listitem><para>From the <link linkend="OpenVPN GUI">#OpenVPN GUI</link> </para></listitem></orderedlist><section><title>Command line</title><para><emphasis role="strong">6a)</emphasis> Run the StartOpenVPN.bat that you extracted from the ZIP file in step 5. </para><para><emphasis role="strong">7a)</emphasis> Agree to run the command with the Administrative privileges. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=05.png"/></imageobject><textobject><phrase>05.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">8a)</emphasis> The connection should now be running. Please leave the command prompt window open to stay connected. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=06.png"/></imageobject><textobject><phrase>06.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">9a)</emphasis> If you want to terminate the connection switch back to the command prompt and press <emphasis>F4</emphasis>. </para></section><section><title>OpenVPN GUI</title><para><emphasis role="strong">6b)</emphasis> Run the SetupGUI.bat that you extracted from the ZIP file in step 5. </para><para><emphasis role="strong">7b)</emphasis> Agree to run the command with the Administrative privileges. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=05.png"/></imageobject><textobject><phrase>05.png</phrase></textobject></inlinemediaobject> </para><para>This will copy the configuration files to C:\Program Files\OpenVPN\config so the GUI component will be able to see them. </para><para><emphasis role="strong">8b)</emphasis> Run the OpenVPN GUI program that was installed in the steps 1-4. Make sure you run the OpenVPN GUI as an Administrator. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=07.png"/></imageobject><textobject><phrase>07.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">9b)</emphasis> To start a connection right click the OpenVPN GUI icon in the Windows notification area. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=08.png"/></imageobject><textobject><phrase>08.png</phrase></textobject></inlinemediaobject> </para><para>If you only have a single OpenVPN connection then select the <emphasis>Connect</emphasis> option from the menu. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=09.png"/></imageobject><textobject><phrase>09.png</phrase></textobject></inlinemediaobject> </para><para>If you configured multiple OpenVPN connections then select the hover over the appropriate connection and select the <emphasis> Connect</emphasis> option from the submenu. </para><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnWin7?action=AttachFile&amp;do=get&amp;target=10.png"/></imageobject><textobject><phrase>10.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">10b)</emphasis> Right click the OpenVPN GUI icon and select <emphasis>Disconnect</emphasis> to stop the VPN connection. </para><caution><para><emphasis role="strong">Security consideration</emphasis> </para><para>The SetupGUI.bat copies your private key file to the C:\Program files\OpenVPN\config directory which may be accessible to other users. Please avoid this configuration if you are in there are multiple users using your computer. </para></caution></section></section></section></article>