Install necessary software
Apt-get install pptpd kernel-tree-2.6.10 kernel-package
Apt-get install kernel-patch-mppe libc6-dev
Decompress Linux kernel
Cd/usr/src
Tar xjf kernel-source-2.6.10.tar.bz2
Configure the kernel
I copied an existing config file.
Cd/usr/src/kernel-source-2.6.10
Cp/boot/config-2.6.10-1-686-smp. config
Compile the kernel
Make-kpkg -- added-patches debian, mppe -- append-to-version-686-smp-mppe -- initrd kernel_image
Then go to tea
Install and restart the new kernel.
Cd/usr/src/
Dpkg-I kernel-image-2.6.10-686-smp-mppe_10.00.Custom_i386.deb
Update-grub
Reboot
Configure pptpd
Vi/etc/pptpd. conf
Modify localip and remoteip, and change localip to the IP address of the server. remoteip is the IP address used by the login machine, as shown in figure
Localip 1.2.3.4
Remoteip 1.2.3.50-70
Configure chap-secrets
Vi/etc/ppp/chap-secrets
If you do not limit the ip address, you can change it to the following format:
Username pptpd password *
If the IP address is restricted, you can change it
Username pptpd password 162.105.0.0/16 166.111.0.0/16
Configure network
/Etc/network/options
Modify the ip_forward Option
Ip_forward = yes
Restart network and pptpd
/Etc/init. d/networking restart
/Etc/init. d/pptpd restart
Test
If you are lucky, you can use tail-f/var/log/syslog for monitoring during testing.
Postscript
Once this set of programs was performed on the machine of the AMD64-K8-SMP, The result once someone tried to link, on the Kernel Panic, failed.
THANKS
Fjdc AT 163 DOT com