Archive for May 1st, 2011

Linux:how to setup openvpn in centos or debain

Sunday, May 1st, 2011

In debain apt-get install openvpn In Centos yum install openvpn Create Certificate in debain (a) The default directory for easy-rsa certificates is "/usr/share/doc/openvpn/examples/easy-rsa/2.0/". Now copy that directory into /etc/openvpn   #cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn/ # cd /etc/openvpn/2.0/   (b). Now we will create the certificate for CA   #. ./vars   #./clean-all   #./build-ca   [...]