A few guides: First install openvpn and easy-rsa $ sudo -s$ wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add - $ echo "deb http://swupdate.openvpn.net/apt precise main" > /etc/apt/sources.list.d/swpudate.openvpn.net.list $ apt-get update && apt-get install openvpn $ apt-get install easy-rsa easy-rsa gets installed to /usr/share/easy-rsa Copy the sample server config file to /etc/openvpn $ cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn $ cd /etc/openvpn $ gunzip server.conf.gz $ nano server.conf Uncomment the lines: user nobody group nobody Save the file. Further reading: /usr/share/doc/openvpn/README.Debian.gz $ cp -R /usr/share/easy-rsa /etc/openvpn $ cd /etc/openvpn/easy-rsa $ mkdir keys $ ln -s /etc/openvpn/easy-rsa/keys /etc/openvpn/keys $ source ./vars $ ./clean-all $ ./build-ca Country Name [US]:ES State or Province Name (full name) [CA]:Madrid Locality Name (eg, city) [SanFrancisco]:Alcorcon Organization Name (eg, company) [Fort-Funston]:Calcmaster Organizational Unit Name (eg, section) [changeme]:IT Common Name (eg, your name or your server's hostname):minecraft.calcmaster.com Name [changeme]:minecraft.calcmaster.com Email Address [mail@host.domain]:gmail addr You'll now have a ca.crt and ca.key in your keys subdirectory $ ./build-dh |
Home >