vpnc with openssl!

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

CODE:
  1. sudo apt-get update
  2. sudo apt-get build-dep vpnc
  3. sudo apt-get install libssl-dev
  4. mkdir ~/src/vpnc -p
  5. cd ~/src/vpnc
  6. apt-get source vpnc
  7. cd vpnc-*
  8. dpkg-buildpackage
  9. 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