L2TP one-click installation package
Zed Lau's one-click installation Packaging Http://www.vpseek.com/automated-l2tp-over-ipsec-implement-script, with this installation method, especially easy.
Installation environment: Linode Centos 5.6 32bit,linode Centos 6.2 64bit
Installation steps:
wget http://mirror.vpseek.com/auto-l2tp/1.2/centos/l2tp.sh
SH l2tp.sh
Prompt input IP range (linode default is no Private IP, you need to add in the background, Dashboard-> Remote Access-> add Private IPs)
Require input PSK (PSK is L2TP client common key, required option, IOS and Android settings are to be used)
The diagram indicates that the installation process has ended. Pay special attention to the output in the red box.
The default username is test, and the password is test123.
To modify the method:
Vi/etc/ppp/chap-secrets
Content format:
# User Server Password IP
Username L2TPD Userpass *
(Note: The IP side directly defaults to the asterisk * on it; VI of the use of beginners may be crazy, but more practice is good. )
End of service-side installation.
The following set up mobile phone connection VPN, for example, iOS.
The above L2TP one-button installation package is also based on Openswan + XL2PTD source code compiled, I was also reference GKP build VPN, at that time with the 64-bit CentOS 6.2, has been unsuccessful. Now the space moved, I simply put the Linode system reinstall the 32-bit CentOS 5.6来 do the experiment.
Based on Ipsec-tools installation
Some say there is a problem with Openswan to install L2TP vpn,android connections. (Original: As Openswan is reported has issues with Android ICS (byte 7 of ISAKMP Nat-oa Payload must to zero))
Http://wiki.nikoforge.org/L2TP/IPSec_VPN_Setup_on_Centos_6_ (64-bit) _for_use_with_android_ics_and_ios_5_clients
So I built this method, build process than Openswan + xl2ptd smooth, iOS can successfully connect VPN, but just can't access the extranet. Individuals previously suspected the IP settings of the Linode LAN, but after testing the above methods, the idea was denied.
Now uses the Digitalocean VPS, the website also moves past, Linode may empty out heartily experiment. Small friends to see how fast I blog access?