Applies to platform: Any device running Android, except ICS 4.X.X.
Updated on: 22nd August 2012.
This lesson describes how to connect a smartphone or tablet device with Android to an existent and running IPsec installation on the Endian UTM Appliance using PSK (password) authentication.
The connection via L2TP/IPsec requires the following data, that should have been previously configured on the VPN/IPsec server:
- The IP address or hostname of the L2TP/IPsec server (i.e., of the Endian UTM appliances where the IPsec server runs).
- The PSK secret, i.e., the password of the IPSsec tunnel, that can be retrieved under Menubar > VPN > IPsec, by clicking on the Edit icon next to the connection, and then looking in the Authentication box.
- The username and password of the L2TP user. The username is retrievable from Menubar > VPN > VPN users, and the user must be allowed to use L2TP.
You should write the above mentioned data down or remember it, since you will have to enter them in the corresponding configuration sections of your device.
Setup of a VPN connection to the Endian UTM Appliance
Go under Settings and tap on Wireless & networks.
Tap on VPN Settings.
Tap on Add VPN.
Tap On L2TP/IPSec PSKAdd VPN. You will end up to the following screen.
Here, tapping on each of the fields, you can enter the data you have written down earlier as follows:
- VPN Name: the name to identify the connection, at your will.
- Set VPN Server: The IP address or hostname.
- Set IPSec preshared key. The PSK secret.
- Enable L2TP secret: must NOT be ticked.
- DNS search domains: you can leave this blank.
The connection is now set up. To start using it, just tap on the connection's name (ACME, inc. in our example) to open the following screen:
- Enter your username.
- Enter your password.
- For your convenience. you can tick Remember username, so you won't be asked for it every time.
- Select Connect.