Difference between revisions of "VPNWindows"
(37 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
== 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) | ||
− | + | * The latest version of HDA Connect 3 can be downloaded from: [http://dl.amahi.org/HDAConnect3.exe 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 [[VPNWindows#Updated_Client_Certificates|Updated Client Certificates]] guidance or you will not be able to connect to your HDA. |
− | * On windows XP simply run it. On Vista, run it as Administrator (this is important). The defaults should work for everyone. | + | <br />[[Image:Runasadmin.png]] |
− | * Click on "Continue Anyway" warning for the driver, if any. | + | * 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.<br />[[Image: | + | * 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.<br />[[Image:Amahi-icon.png]] |
− | * Any time you want to connect, simply double click in the icon. A Menu like this will come up<br />[[Image: | + | * Any time you want to connect, simply double click in the icon. A Menu like this will come up<br />[[Image:Authfirst.png]] |
* In it, input | * In it, input | ||
− | ** The nickname of the HDA you want to connect to (as in < | + | ** The nickname of the HDA you want to connect to (as in <code><nickname>.yourhda.com</code>). Note that it's only the nickname, not all of XXXX.yourhda.com. You can find it in the [http://www.amahi.org/user Amahi HDA control panel]. |
** The username you want to login as in that HDA, and | ** The username you want to login as in that HDA, and | ||
** The password of that user in that HDA | ** The password of that user in that HDA | ||
+ | * Your computer will now connect to your hda.<br />[[Image:Connecting.png]] | ||
+ | |||
+ | * After that, your icon in the Windows task bar will look like this:<br />[[Image:Amahi-Connected-icon.png]] | ||
+ | |||
+ | <b>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.</b> | ||
+ | |||
+ | [[Image: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. | ||
+ | |||
+ | == 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'' | ||
+ | |||
+ | |||
+ | You should be able to connect to the HDA remotely now with HDAConnect. This is a temporary work around until we can update the HDAConnect3 installer. | ||
+ | |||
+ | == Old Versions == | ||
+ | * Version 2 of HDA Connect: [http://dl.amahi.org/HDAConnect2.exe HDAConnect2 installer]. | ||
+ | <br> | ||
[[Category: VPN]] | [[Category: VPN]] |
Latest revision as of 02:19, 1 March 2017
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
- The nickname of the HDA you want to connect to (as in
- Your computer will now connect to your hda.
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
You should be able to connect to the HDA remotely now with HDAConnect. This is a temporary work around until we can update the HDAConnect3 installer.
Old Versions
- Version 2 of HDA Connect: HDAConnect2 installer.