Report this

What is the reason for this report?

no easy-rsa to install on my debian

Posted on February 7, 2015

I want to install openvpn on my debian according to the web material : https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04

root@change:~# apt-get install openvpn easy-rsa Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package easy-rsa



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Think for your answer. My debian is wheezy,it is true that easy-rsa is under the path /usr/share/doc/openvpn/examples/easy-rsa/.

To get a proper response to questions like these you really need to specify what Debian version you are running. For the purpose of this answer I’m going to assuming that you are running Debian Wheezy, which is the current Stable version.

Debian Wheezy comes with OpenVPN 2.2, where easy-rsa is distributed together with main OpenVPN program. On your Debian system you ought to find easy-rsa under the path /usr/share/doc/openvpn/examples/easy-rsa/.

As of OpenVPN 2.3 easy-rsa is treated as its own program, which is why Ubuntu 14.04 has it as a separate package.

Bonus answer: In case you want OpenVPN 2.3 for your Debian Wheezy you can get it from Debian Backports. One good reason to prefer OpenVPN 2.3 is that it comes with much better IPv6 support.

Here is my installation process. The web material is : https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04

gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > /etc/openvpn/server.conf nano /etc/openvpn/server.conf #the same as web material echo 1 > /proc/sys/net/ipv4/ip_forward nano /etc/sysctl.conf #the same as web material apt-get install ufw ufw allow ssh ufw allow 1194/udp nano /etc/default/ufw #the same as web material nano /etc/ufw/before.rules #the same as web material ufw enable cp -r /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn mkdir /etc/openvpn/easy-rsa/keys nano /etc/openvpn/easy-rsa/vars

root@change:/etc/openvpn/easy-rsa# . ./vars root@change:/etc/openvpn/easy-rsa# ./clean-all -bash: ./clean-all: No such file or directory root@change:/etc/openvpn/easy-rsa# ./build-ca -bash: ./build-ca: No such file or directory

What is the matter with my installation process? "In case you want OpenVPN 2.3 for your Debian Wheezy you can get it from Debian Backports. " 1.how to change the statement into some shell commands? 2.how to setup the openvpn?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.