VPNWindows

From Amahi Wiki
Jump to: navigation, search

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.
  • 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/10 run it as Administrator. "right click" on the file HDAconnect.exe -> Run as a administrator. (tested on Win 8 64bits)
  • Once install is complete, you will need to follow the Updated Client Certificates guidance or you will not be able to connect to your HDA.


 

  • 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.
     
  • Any time you want to connect, simply double click in the icon. A Menu like this will come up
     
  • 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.
     
  • After that, your icon in the Windows task bar will look like this:
     

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.

 

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

Updated Client Certificates

There are updated client certificates required for HDAConnect. Go to the OpenVPN Client Certificates to download them.

  • Copy new certificates to C:\Program Files (x86)\HDAConnect\config (overwrite if prompted for ca.crt)
  • Update HomeHDA.ovpn to use the new certificate names:
    • Change line 9 from homehda.crt to Amahi-Client-OpenVPN.crt
    • Change line 10 from homehda.key to Amahi-Client-OpenVPN.key


NOTE: This is a temporary work around until we can update the HDAConnect3 installer.

Old Versions