Author: kendiv
Date: 2006.12.16
***********************************
I. Software and environment configuration used
***********************************
1. l2tpd-0.69.tar.gz
Kernel: linux-2.6.12.6 + MPPE/mppc path (1.3)
PPP: ppp-2.4.3 + MPPE/mppc path (1.1)
***********************************
2. Install RP-L2TP
***********************************
# Cp l2tpd-0.69.tar.gz/usr/src/VPN/
# Cd/usr/src/VPN/
# Tar zxvf l2tpd-0.69.tar.gz
# Cd l2tpd-0.69
# Make
After compilation is successful, l2tpd will be generated in the current directory
# Cp l2tpd/usr/local/sbin/
***********************************
3. Copy the configuration file
***********************************
# Mkdir/etc/L2TP/
# Cd/usr/src/VPN/l2tpd-0.69/doc
# Cp l2tpd. conf. Sample/etc/L2TP/
# Cp l2tp-secrets.sample/etc/L2TP/
# Touch/etc/PPP/options. L2TP
# Cp l2tpd. 8/usr/local/man/man8/
***********************************
4. Modify the PPP configuration file (/etc/PPP/options. L2TP)
***********************************
Name Mimi. VPN # L2TP server name
Lock
MTU 1450
MRU 1450
Auth
# Handshake auth Method
+ Chap
+ Mschap-v2
# Debug
# Dump
Logfile/var/log/l2tpd. Log
Passive
Nodetach
Noccp
Novj
Novjccomp
Nopcomp
Noaccomp
***********************************
5. Start l2tpd
***********************************
# The l2tpd-D/* parameter D indicates that the l2tpd is run on the foreground, and the running information of the entire l2tpd is displayed. If no D is added, the l2tpd is run on the background;
***********************************
Vi. Windows client Configuration
***********************************
Under "HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/RASMAN/parameters", add
Set prohibitipsec type to DWORD to 1
++
After Windows XP is configured, it must be restarted to take effect.