vpnc with openssl!

The default vpnc in Ubuntu comes without openssl support. Bugger… But with these few lines of code this is solved:

sudo apt-get update
sudo apt-get build-dep vpnc
sudo apt-get install libssl-dev
mkdir ~/src/vpnc -p
cd ~/src/vpnc
apt-get source vpnc
cd vpnc-*
dpkg-buildpackage
sudo dpkg -i ../vpnc*.deb

Et voila: vpnc with openssl!

6 comments ↓

#1 Karlo on 09.10.08 at 16:41

karlo@karlo-laptop:~/src/vpnc/vpnc-0.5.1r275$ vpnc
vpnc was built without openssl: Can’t do hybrid or cert mode.

I don’t see what I am doing wrong… I followed the steps exactly

#2 LeonB on 09.10.08 at 22:29

Try to uncomment the two OPENSSL lines that are annotated in the comments in the makefile. Maybe that helps?

#3 LMB on 12.04.08 at 10:39

Doesn’t work – still getting “vpnc was built without openssl: Can’t do hybrid or cert mode.”

#4 Aris on 02.12.09 at 21:23

Before step 8, open Makefile in text editor and uncomment the lines

OPENSSL_GPL_VIOLATION = DOPENSSL_GPL_VIOLATION
OPENSSLLIBS = -lcrypto

and continue as per instructions

#5 Ruairi on 06.12.09 at 08:04

Editing the Makefile as per Aris’s instructions worked for me.

#6 Fleck on 06.14.09 at 23:51

Thanks, Aris!

Leave a Comment