Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install openvpn-2.3.6 on Ubuntu 14.04 LTS to work work with TUN/TAP

I'm trying to install openvpn-2.3.6 on Ubuntu 14.04 LTS to work with TUN/TAP.

I have downloaded the package from: http://swupdate.openvpn.org/community/releases/openvpn-2.3.6.tar.gz

extracted it and try to install it using command line terminal.

but the following error apperared:

"configure: error: ssl is required but missing"

How can I solve this problem to complete openvpn-2.3.6 installation?

I'm following the instructions in the following link: http://backreference.org/2010/03/26/tuntap-interface-tutorial/

which uses the openvpn tool to configure the virtual tun interface.

Can I make tunnels and configure tun interface without the assestance of openvpn or any other tool.

do any one have simple example for using tun on ubuntu?

like image 884
Massook Avatar asked Jan 01 '15 07:01

Massook


3 Answers

For the error "configure: error: ssl is required but missing"

You will need to install libssl-dev.

sudo apt-get install libssl-dev

For the error "configure: error: lzo enabled but missing"

sudo apt-get install liblzo2-dev

For the error "configure: error: libpam required but missing "

sudo apt-get install libpam0g-dev
like image 140
deadcode Avatar answered Nov 13 '22 11:11

deadcode


Let's see.

  • First of all a fabulous up-and-running-on-ubuntu guide is Setting up OpenVPN inside AWS-VPC. Most of it is not AWS specific. It also links to another guide which is pretty helpful too. Therein you will find the magic extra stuff you need

apt-get install build-essential openssl libssl-dev lzop liblzo2-dev libpam-dev

(pretty much as deadcode noted above).

  • However, if you want to do it easy go to Open VPN's Ubuntu Repository
like image 44
MJB Avatar answered Nov 13 '22 11:11

MJB


Thank you deadcode - Your answer helped me -

On fedora 21 the packages were openssl-devel, lzo-devel and pam-devel

sudo yum install openssl-devel lzo-devel pam-devel
like image 25
Aditya Pednekar Avatar answered Nov 13 '22 13:11

Aditya Pednekar