用户名: 密码: 忘记密码? 注册

Openvpn安装笔记

作者:  时间: 2010-11-23
下载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