Difference between revisions of "IPsec VPN"

From Amahi Wiki
Jump to: navigation, search
Line 13: Line 13:
 
* [[IPSec VPN Mac OS X Client | Mac OS X]] built-in client
 
* [[IPSec VPN Mac OS X Client | Mac OS X]] built-in client
  
The Android (2.x/3.x) OS is known to be broken.
+
The Android (2.x/3.x) OS is known to be broken with respect to IPSec VPN.
 +
 
 +
= Changing the Secret and/or the Group Name =
 +
 
 +
To change the secret, 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

Revision as of 20:32, 4 January 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.

Changing the Secret and/or the Group Name

To change the secret, 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