Changes

From Amahi Wiki
Jump to: navigation, search
3,288 bytes removed ,  10:34, 13 June 2017
no edit summary
Our remote access solution is implemented through the very popular [httpThere are '''two''' supported options for VPN in Amahi://openvpn.net/ OpenVPN] software.
Each HDA comes preconfigured with a remote access server* An [http://www.amahi. Once connectedorg/apps/ipsec-vpn IPsec VPN app] which is built in on iOS devices like the iPad, your computer becomes virtually iPhone, iPod. Details on how to set it up at [[IPSec VPN]]* An [http://www.amahi.org/apps/openvpn OpenVPN app] which is a computer popular open source VPN stack. This is not included by default in your home network. All your files and services are easily reachediOS or Mac OS X.Details on how to set it up at [[OpenVPN]]
= Requirements =
There are two requirements for Remote Access Both of them require forwarding ports to work:from outside your network to your HDA.
* On the client side, you need to be running an We offer a free OpenVPN clienttester in your console in Amahi. We provide one for Windows, preconfigured and we recommend one for the Macorg to test your setup, which requires some manual configurationas a convenience, which are because the same settings for the Linux client.* Your router needs to provide acces to '''UDP port 1194'''. The way to open is through port forwarding. Forward UDP port 1194 OpenVPN cannot be tested from within your router to the IP address of your HDAnetwork.
On to To get started, pick one and install the clientsapp and the relevant client software in your client computer or mobile device, then configure it for remote access.
= Windows = * Download the [http://yourhda.com/newuser/hdaconnect.exe HDAConnect installer].* Note: If you have installed a previous version, you will want to exit and uninstall it first.* On windows XP simply run it. On Vista, run it as Administrator (this is important). The defaults should work for everyone.* 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 />[[ImageCategory:vpn-taskbar.pngServices]]* Any time you want to connect, simply double click in the icon. A Menu like this will come up<br />[[ImageCategory:connect-menu.png]]* In it, input** The nickname of the HDA you want to connect to** Your username in that HDA, and** The password of the user in that HDA = Mac = For the Mac, we recommend using the [http://www.tunnelblick.net/ TunnelblickVPN] client. * Download and install [http://www.tunnelblick.net/Tunnelblick_3.0_B4.zip Tunnelblick 3.0(B4)] for Mac OS X 10.4.* There are some .ctr/.key files needed:** [[:Image:AmahiHDAClient.crt|AmahiHDAClient.crt]]** [[:Image:AmahiHDAClient.key|AmahiHDAClient.key]]** [[:Image:ca-cert.crt|ca-cert.crt]]* Download the .ctr/.key files and save them in the /Users/'''username'''/Library/openvpn folder, where '''username''' is the home directory of the current user.* Go to the configuration for Tunnelblick and edit the config file.* Click on the Tunnelblick icon in the upper right corner of the display, then click '''''Details...'''''<br />[[Image:tunnelblick-pulldown.png]]* "OpenVPN Log Output" window should appear, click on '''''Edit Configuration'''''. Make sure the ''Set Nameserver (Experimental)'' option is ''checked.''<br />[[Image:tunnelblick-editconfig.png]]* Delete the default sample configuration<br />[[Image:openvpn_conf1.png]]* Copy and paste the configuration below into the OpenVPN.conf file, replacing XYZ for your HDA's nickname: <pre><nowiki> remote XYZ.yourhda.com 1194 client dev tun proto udp resolv-retry infinite nobind persist-key persist-tun ca ca-cert.crt cert AmahiHDAClient.crt key AmahiHDAClient.key comp-lzo verb 3 auth-user-pass</nowiki></pre>  * Any time you want to connect '''from outside of your home network''' and '''into your home network''', simply click on '''Connect'''* Don't forget to click on the DNS option.* Input your username and password* It is possible to use keyrings. Will link here the details when available. Note:* The procedure above has been tested with an Intel-based Mac.* If the latest does not work, try the Beta 3 of Tunneblick: [http://www.tunnelblick.net/Tunnelblick_3.0_rc3.zip Tunnelblick_3.0_rc3.zip] = Linux =The instructions for Linux are similar to the mac. This is the script to use (replacing XYZ for the nickname of the HDA you are trying to connect to): <pre><nowiki> remote XYZ.yourhda.com 1194 client dev tun proto udp resolv-retry infinite nobind persist-key persist-tun ca ca-cert.crt cert AmahiHDAClient.crt key AmahiHDAClient.key comp-lzo verb 3 auth-user-pass</nowiki></pre>
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits