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!
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?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.