Difference between revisions of "VPNWindows"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
'''NOTE:'''  There are updated client certificates required for HDAConnect.  Go to the [[OpenVPN Client Certificates]] to download them.  Rename the files to match the current ones in ''C:/Program Files/HDAConnect/config''.  Also ensure you have the latest [https://www.amahi.org/apps/openvpn OpenVPN] application installed on your HDA.
 +
 
== Windows VPN Client ==
 
== Windows VPN Client ==
 
We provide a customized, simple to use, client for Windows XP, Windows Vista and Windows 7 and 8. (Windows 2000 workaround: see bottom of page)
 
We provide a customized, simple to use, client for Windows XP, Windows Vista and Windows 7 and 8. (Windows 2000 workaround: see bottom of page)

Revision as of 16:47, 28 February 2017

NOTE: There are updated client certificates required for HDAConnect. Go to the OpenVPN Client Certificates to download them. Rename the files to match the current ones in C:/Program Files/HDAConnect/config. Also ensure you have the latest OpenVPN application installed on your HDA.

Windows VPN Client

We provide a customized, simple to use, client for Windows XP, Windows Vista and Windows 7 and 8. (Windows 2000 workaround: see bottom of page)

  • The latest version of HDA Connect 3 can be downloaded from: HDAConnect3 installer.
  • Note: If you have installed a previous version, you will want to exit the service from the tray icon (right click).
  • On windows XP simply run it. On Vista, run it as Administrator (this is important). In Windows 7, it should ask for administrator automatically. The defaults should work for everyone.
  • To install in Windows 8 run it as Administrator. "right click" on the file HDAconnect.exe -> Run as a administrator. (tested on Win 8 64bits)


Runasadmin.png

  • Click on "Continue Anyway" warning for the driver, if any.
  • After installation is done. It will display a small icon in the desktop tray. It may also display a network icon with a red mark indicating "A network cable is disconnected." This is the VPN "network adapter" indicating the VPN is down.
    Amahi-icon.png
  • Any time you want to connect, simply double click in the icon. A Menu like this will come up
    Authfirst.png
  • In it, input
    • The nickname of the HDA you want to connect to (as in <nickname>.yourhda.com). Note that it's only the nickname, not all of XXXX.yourhda.com. You can find it in the Amahi HDA control panel.
    • The username you want to login as in that HDA, and
    • The password of that user in that HDA
  • Your computer will now connect to your hda.
    Connecting.png
  • After that, your icon in the Windows task bar will look like this:
    Amahi-Connected-icon.png

Remember, the next time you log in it will save your username and username.yourhda.com username, and all you have to do is enter your password.

Authsecond.png


  • Windows 2000: HDAConnect3 looks for 'route.exe' in the 'C:\windows\system32' folder. This folder doesn't exist on Windows 2000, where the systemfolder is called 'WINNT'. As a result, the install works, but the connection will not work. As a workaround, create the folder 'C:\windows\system32' and copy 'route.exe' from the 'C:\WINNT\system32' folder into it. after this HDAconnect3 should work on Windows 2000. DISCLAIMER: This hasn't been tested thoroughly, it might or might not work for your particular setup.


Run Connect/Disconnect/Preconnect Scripts


There are three diffrent scripts that OpenVPN GUI can execute to help with diffrent tasks like mapping network drives.

Preconnect If a file named "xxx_pre.bat" exist in the config folder

           where xxx is the same as your OpenVPN config file name,
           this will be executed BEFORE the OpenVPN tunnel is established.

Connect If a file named "xxx_up.bat" exist in the config folder

           where xxx is the same as your OpenVPN config file name,
           this will be executed AFTER the OpenVPN tunnel is established.

Disconnect If a file named "xxx_down.bat" exist in the config folder

           where xxx is the same as your OpenVPN config file name,
           this will be executed BEFORE the OpenVPN tunnel is closed.

Old Versions