L2TP/IPSEC
From Bashlinux
How to setup VPN for Android/IOS
- This is managed by L2TP/IPSEC
- Ports that need to be open on the firewall are:
- UDP 500
- UDP 4500
- ESP
How to setup a VPn client on IOS
Set them on iOS devices under Settings > General > Network > VPN > Add VPN Configuration
L2TP configuration
- Description: Bashlinux VPN
- Server: 10.20.30.40
- Account: <your username>
- RSA SecurID: OFF
- Password: <your LDAP password>
- Secret: 17eX19KR73oW58Jq
- Send All Traffic: ON
- Proxy: Off
How to tweak zentyal to authenticate L2TP/IPSEC users via LDAP through Radius
- Change Service-Type to
Framed-User
insteadLogin-User
on /usr/share/zentyal/stubs/radius/users.mas - Add the secret key
- SERVER: On Zentyal front-end
- CLIENT: /etc/radiusclient/servers
References
- http://blog.riobard.com/2010/04/30/l2tp-over-ipsec-ubuntu
- http://www.marthijnvandenheuvel.com/2012/05/26/how-to-set-up-a-pptp-vpn-server-on-ubuntu/
- http://support.apple.com/kb/HT1288
- http://www.vyatta.org/node/235
- VPN with LDAP authentication
- L2TP/IPSec with Zentyal/Freeradius and radiusclient1
- iPhone/iPad Settings