Difference between revisions of "IPsec VPN"

From Amahi Wiki
Jump to: navigation, search
Line 12: Line 12:
 
* [[IPSec VPN Windows Client | Windows 7]]
 
* [[IPSec VPN Windows Client | Windows 7]]
 
* [[IPSec VPN Mac OS X Client | Mac OS X]] built-in client
 
* [[IPSec VPN Mac OS X Client | Mac OS X]] built-in client
* [[IPSec VPN Android Client | Android (>=4.0)]] built-in client
+
* [[IPSec VPN Android Client | Android ]] built-in client, (ICS, i.e. 4.x or later)
  
 
The Android (2.x/3.x) OS is known to be broken with respect to [http://www.amahi.org/apps/ipsec-vpn IPSec VPN].  See [[IPSEC/L2TP_VPN_Server|here]] for a manual implementation that should work.
 
The Android (2.x/3.x) OS is known to be broken with respect to [http://www.amahi.org/apps/ipsec-vpn IPSec VPN].  See [[IPSEC/L2TP_VPN_Server|here]] for a manual implementation that should work.

Revision as of 08:19, 23 March 2012

We now have a new IPsec VPN app for your HDA!

This VPN stack has many advantages, although it still requires two ports to be forwarded from your router to your HDA. These are

 500 UDP and 4500 UDP

UDP, not TCP.

Here is how to set up clients for various client operating systems:

The Android (2.x/3.x) OS is known to be broken with respect to IPSec VPN. See here for a manual implementation that should work.

Changing the Secret and/or the Group Name

Optionally, you can change the secret and/or group name.

For that, you have to be able to edit a system file as root.

Become root via ssh or a terminal and then edit this file:

         /etc/racoon/psk.txt

This file has two field separated by at least one space. The first one is the Group name and the second is the Secret. Change them , keeping in mind that.

The changes will be picked up automatically a few seconds later. If you want to make sure, perform a:

        service racoon restart