Difference between revisions of "OpenVPN"

From Amahi Wiki
Jump to: navigation, search
Line 5: Line 5:
 
<u>Fedora:</u>  Remote VPN access to your Amahi HDA comes pre-configured out of the box. There is nothing to install or configure on the server.
 
<u>Fedora:</u>  Remote VPN access to your Amahi HDA comes pre-configured out of the box. There is nothing to install or configure on the server.
  
'''You need to forward one port (1194/UDP) to your HDA's IP''' to enable the OpenVPN service from outside.
+
'''You need to forward one port (1194/UDP) to your HDA's IP''' to enable your OpenVPN service from outside.
  
 
You will also need client software.
 
You will also need client software.

Revision as of 10:24, 2 October 2012


Ubuntu: You will need to install the OpenVPN one-click app.

Fedora: Remote VPN access to your Amahi HDA comes pre-configured out of the box. There is nothing to install or configure on the server.

You need to forward one port (1194/UDP) to your HDA's IP to enable your OpenVPN service from outside.

You will also need client software.

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.

NEW! You can now use your amahi.org control panel to test your VPN remotely!

Overview

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)

OpenVPN Clients For Windows, Mac, Linux, Android, iPhone, ...

Check the page for OpenVPN clients.

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: VPN Bridging.

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.