Difference between revisions of "VPN"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
Remote access to your Amahi HDA comes pre-configured out of the box. There is nothing to configure in the server.
+
Remote VPN access to your Amahi HDA comes pre-configured out of the box. There is nothing to configure in the server.
  
The VPN solution is implemented through the very popular [http://openvpn.net/ OpenVPN] software VPN.
+
'''You need to forward one port (1194/UDP) to your HDA's IP''' to enable the VPN.
  
 
Once connected from outside your network, your computer becomes virtually a computer in your home network. All your files and services are as easily accessible as when you are at home.
 
Once connected from outside your network, your computer becomes virtually a computer in your home network. All your files and services are as easily accessible as when you are at home.
 
'''You need to forward one port in your router''' to enable the VPN.
 
  
 
= Requirements =
 
= Requirements =
Line 11: Line 9:
 
There are two requirements for Remote Access to work:
 
There are two requirements for Remote Access to work:
  
* On the client side, you need to be running an OpenVPN client. We provide one for Windows, preconfigured and we recommend one for the Mac, which requires some manual configuration, which are the same settings for the Linux client.
+
* On the client side, you need to be running a client
* Your router needs to forward '''UDP port 1194''' to the IP address of the server. The way to do this is through port forwarding, which varies from router to router.
+
** We provide one for Windows, pre-configured for Amahi
 +
** We recommend one for the Mac, which requires some manual configuration
 +
** The client for Linux comes with most distros and uses the same settings as the Mac
 +
* Your router needs to forward '''UDP port 1194''' to the IP address of your HDA. The way to do this is through port forwarding, which varies from router to router. Make sure you forward UDP (not TCP)
  
 
= Clients For Windows, Mac and Linux =
 
= Clients For Windows, Mac and Linux =
Line 36: Line 37:
  
 
* If you have a Vonage V-Portal (or perhaps other voip adapters as well), plug your router into your modem, then the v-portal into your router. Vonage tells you to put the v-portal between the modem and the router, but I was unable to connect to vpn until I moved the adapter behind the router.
 
* If you have a Vonage V-Portal (or perhaps other voip adapters as well), plug your router into your modem, then the v-portal into your router. Vonage tells you to put the v-portal between the modem and the router, but I was unable to connect to vpn until I moved the adapter behind the router.
 +
 +
= Implementation =
 +
 +
The VPN solution is implemented through the very popular [http://openvpn.net/ OpenVPN] software VPN.
 +
  
 
[[Category: Services]]
 
[[Category: Services]]
 
[[Category: VPN]]
 
[[Category: VPN]]

Revision as of 00:22, 22 February 2010

Remote VPN access to your Amahi HDA comes pre-configured out of the box. There is nothing to configure in the server.

You need to forward one port (1194/UDP) to your HDA's IP to enable the VPN.

Once connected from outside your network, your computer becomes virtually a computer in your home network. All your files and services are as easily accessible as when you are at home.

Requirements

There are two requirements for Remote Access to work:

  • On the client side, you need to be running a client
    • We provide one for Windows, pre-configured for Amahi
    • We recommend one for the Mac, which requires some manual configuration
    • The client for Linux comes with most distros and uses the same settings as the Mac
  • Your router needs to forward UDP port 1194 to the IP address of your HDA. The way to do this is through port forwarding, which varies from router to router. Make sure you forward UDP (not TCP)

Clients For Windows, Mac and Linux


Resources on Port Forwarding

Bridging VPN and eth0

if you'd like your VPN clients to get IP addresses in the same subnet as your HDA, and not in the 10.8.0.0/24 subnet (default), read this page: VPNBridge.

Troubleshooting

  • Make sure your HDA's network IP range is different than that of the remote network. (e.g. if your HDA's IP address is 192.168.1.X, you cannot connect to it on a remote network also using 192.168.1.X)
  • If you have a Vonage V-Portal (or perhaps other voip adapters as well), plug your router into your modem, then the v-portal into your router. Vonage tells you to put the v-portal between the modem and the router, but I was unable to connect to vpn until I moved the adapter behind the router.

Implementation

The VPN solution is implemented through the very popular OpenVPN software VPN.