分类
Linux-Unix

RHEL5.4 安装OPENVPN

一、安装

http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz
http://pkgs.fedoraproject.org/repo/pkgs/openvpn/openvpn-2.1.1.tar.gz/b273ed2b5ec8616fb9834cde8634bce7/openvpn-2.1.1.tar.gz

安装lzo
tar zxvf lzo-2.03.tar.gz
cd lzo-2.03/
./configure
make
make check
make install

安装openvpn
tar zxvf openvpn-2.1.1.tar.gz
cd openvpn-2.1.1
./configure –with-lzo-headers=/usr/local/include –with-lzo-lib=/usr/local/lib –with-ssl-headers=/usr/include/openssl –with-ssl-lib=/usr/lib/openssl
make
make install

新版的2.3.2安装提示参数不正确
openvpn-2.3.2.tar.gz不支持–with-lzo-headers、–with-lzo-lib参数

分类
Linux-Unix

RHEL5.4 安装PPTP VPN

最近尝试下跟家里的电脑连VPN,安装PPTP的VPN,记录如下:

64位的ppp协议与pptpd下载地址:

http://poptop.sourceforge.net/yum/stable/rhel5/x86_64/

下载以下4个文件

dkms-2.0.17.5-1.noarch.rpm
ppp-devel-2.4.4-14.1.rhel5.x86_64.rpm 
ppp-2.4.4-14.1.rhel5.x86_64.rpm 
pptpd-1.4.0-1.rhel5.x86_64.rpm