Openvpn安装笔记

下载lzo-2.04.tar.gz、.tar.gz
cd lzo-2.04
./configure --prefix=/usr/local/lzo
make 
make install

cd openvpn-2.1.4
./configure --prefix=/usr/local/openvpn  --with-lzo-headers=/usr/local/lzo/include --with-lzo-lib=/usr/local/lzo/lib  --with-ssl-headers=/usr/include/openssl --with-ssl-lib=/usr/lib

make 
make install

生成各种证书

运行:
/usr/local/openvpn/sbin/openvpn --config /usr/local/openvpn/etc/server.conf --daemon

作者: kuaifeidao   发布时间: 2010-11-23