Home > General > VPNC for Ubuntu!

VPNC for Ubuntu!

People coming from the Windows world are used to using Cisco VPN client to login to their corporate network.  So when they make the transition over to Ubuntu, they’re somewhat puzzled at the complexity of getting Cisco VPN client working.

It’s obviously not as straightforward as it is on Windows platform but there also has been cases of kernel panics using the Cisco VPN client on Linux.

For those who are looking for an alternative, I’ve got good news.  I came across VPNC recently and it only took me a few minutes to get it installed, configured and get connected to my job’s corporate network.

Supported Platforms:

  • Linux (i386/ppc/zaurus tested)
  • NetBSD (i386 tested)
  • FreeBSD (CURRENT of 23.11.2003 tested)
  • OpenBSD (CURRENT of 18.04.2004 tested)
  • DragonFly BSD
  • Darwin / Mac OS X
  • Solaris (7 works, 9 only with –natt-mode forced)
  • Windows / Cygwin

As you can see it supports more than just Linux but I haven’t yet tested on any other in the above list to make sure.

Quick Setup:

$ sudo apt-get install vpnc
Convert your existing PCF file (if you have any) to vpnc recognized format using this perl script: http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
$ wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
$ chmod +x pfc2vpnc
$ ./pcf2vpnc orig.pcf vpnc.conf
$ sudo vpnc vpnc.conf

That’s it!  Five easy steps to install, configure and connect to your network.  If you have Kubuntu, you can install kvpnc which by default allows you to use the original PCF file for configuration, so no need to convert here.  I haven’t tested this myself so I can’t say for sure it works.

Go ahead, give it a try.  Read the doc that comes with the source pkg to setup a configuration from scratch.

Categories: General Tags: , ,
  1. December 2nd, 2011 at 21:55 | #1

    Hi there, just wanted to tell you, I loved this blog post. It was inspiring. Keep on posting!

  1. No trackbacks yet.