Difference between revisions of "IPsec VPN"

From Amahi Wiki
Jump to: navigation, search
Line 14: Line 14:
 
* [[IPSec VPN Android Client | Android (>=4.0)]] built-in client
 
* [[IPSec VPN Android Client | Android (>=4.0)]] built-in client
  
The Android (2.x/3.x) OS is known to be broken with respect to IPSec VPN.  You can try [[IPSEC/L2TP_VPN_Server|this implementation]] which requires a manual setup.
+
The Android (2.x/3.x) OS is known to be broken with respect to IPSec VPN.  See [[IPSEC/L2TP_VPN_Server|here]] for the steps to install it manually.
  
 
= Changing the Secret and/or the Group Name =
 
= Changing the Secret and/or the Group Name =

Revision as of 01:07, 27 February 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 the steps to install it manually.

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