RH Linux 9下面的VPN Server架设指南

Server: Red Hat Linux 9 Kernel 2.6.10

Client: Win2000 Pro/Server SP4,WinXP SP2

Server所需要 :

www.kernel.org
kernel: linux-2.6.10.tar.bz2

http://www.polbox.com/h/hs001/
kernel_patch: linux-2.6.10-mppe-mppc-1.2.patch.gz
pppd: ppp-2.4.3.tar.gz
pppd_patch: ppp-2.4.3-mppe-mppc-1.1.patch.gz
pptpd: pptpd-1.2.3.tar.gz

为了方便起见,可以把它们放在同一个目录下

我不喜欢用RPM方式安装,所以都是用的源码方式编译安装

一、先给内核打补丁

# tar zjvf linux-2.6.10.tar.bz2 # gunzip   
linux-2.6.10-mppe-mppc-1.2.patch.gz # patch -p0 -i   
linux-2.6.10-mppe-mppc-1.2.patch # ln –s linux-2.6.10 linux   
# cd linux # make menuconfig Device Drivers ->Networking Support->  

把 "PPP support" 编进内核,你也可作为模块编译。

PPP Support for async serial ports PPP Support for sync   
tty ports PPP Deflate compression Microsoft PPP   
compression/encryption (MPPC/MPPE)" Cryptographic options  

把 "Cryptographic API" 编进内核,你也可作为模块编译。确保SHA1 和 ARC4 支持已经选上:

SHA1 digest algorithm ARC4 cipher algorithm  

保存配置文件,退出

编译内核

make all modules modules_install install

修改/etc/modprobe.conf (2.4的Kernel请修改/etc/modules.conf)

重启,进入2.6.10

本新闻共 3 页,当前在第 1 页 1 2 3

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus