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参数

继续阅读“RHEL5.4 安装OPENVPN”