Installing and Setting up OpenVPN Linux Ubuntu 12.04

koeks525

Executive Member
Joined
Jul 14, 2012
Messages
6,016
Reaction score
1,199
Location
Canada
Hi everyone,

I am a noob when it comes to Linux... be nice :)

I am wanting to setup an OpenVPN server on my Linux Ubuntu VPS server hosted at Host1Plus. I did ask them to enable TUN/TAP on my server, which they have done. I am having an issue installing the entire thing. On the web guides I been reading, they use a command to install OpenVPN and Easy-rsa... I enter this command:

sudo apt-get install openvpn easy-rsa

I get the error: E: Unable to locate package easy-rsa

I ran the update command (sudo apt-get update) and restarted the server, it still gives me the same issue. Is there another way of getting easy-rsa, or another way of installing and setting up OpenVPN server?

Thanks.
 
Hi everyone,

I am a noob when it comes to Linux... be nice :)

I am wanting to setup an OpenVPN server on my Linux Ubuntu VPS server hosted at Host1Plus. I did ask them to enable TUN/TAP on my server, which they have done. I am having an issue installing the entire thing. On the web guides I been reading, they use a command to install OpenVPN and Easy-rsa... I enter this command:

sudo apt-get install openvpn easy-rsa

I get the error: E: Unable to locate package easy-rsa

I ran the update command (sudo apt-get update) and restarted the server, it still gives me the same issue. Is there another way of getting easy-rsa, or another way of installing and setting up OpenVPN server?

Thanks.

If it's not already included in the OpenVPN ( /etc/openvpn ) directory ( It might well be, my memory is hazy on that ), you can get it here:
Code:
git clone https://github.com/OpenVPN/easy-rsa.git

Edit!

Aha! It should be in this location already under 12.04;

Code:
/usr/share/doc/openvpn/examples/easy-rsa/
 
Hi everyone,

I am a noob when it comes to Linux... be nice :)

I am wanting to setup an OpenVPN server on my Linux Ubuntu VPS server hosted at Host1Plus. I did ask them to enable TUN/TAP on my server, which they have done. I am having an issue installing the entire thing. On the web guides I been reading, they use a command to install OpenVPN and Easy-rsa... I enter this command:

sudo apt-get install openvpn easy-rsa

I get the error: E: Unable to locate package easy-rsa

I ran the update command (sudo apt-get update) and restarted the server, it still gives me the same issue. Is there another way of getting easy-rsa, or another way of installing and setting up OpenVPN server?

Thanks.

My googlefu revealed easy-rsa is only available in raring and saucy repos.
Saucy Ubuntu 13.10
Raring Ubuntu 13.04

There are way to enable cross distro repos but it is generaly not a good idea.
 
If it's not already included in the OpenVPN ( /etc/openvpn ) directory ( It might well be, my memory is hazy on that ), you can get it here:
...
Aha! It should be in this location already under 12.04;

Code:
/usr/share/doc/openvpn/examples/easy-rsa/
My googlefu revealed easy-rsa is only available in raring and saucy repos.
Saucy Ubuntu 13.10
Raring Ubuntu 13.04
It seems easy-rsa was part of the openvpn package and was then split off into its own package in November 2012.
See https://bugs.debian.org/693070
This was after the release of 12.04, which explains why it only appeared in 13.04.
 
Top
Sign up to the MyBroadband newsletter
X