Cisco vpn and vpnc

A simple task: use a Cisco configuration (for their own vpn client) but use vpnc…

Reading up on Cisco’s manual - to understand how the config/their client is configured - seemed like a very good idea:

Unfortunately, i ended up with a variant of this:

Error: either “to” is duplicate, or “ipid” is a garbage.

Which has been reported here: vpnc-script incorrectly parses the output of ip route with kernels >= 2.6.38

And also found a solution here: vpnc on Ubuntu Oneiric: “Error: either “to” is duplicate, or “ipid” is a garbage.”

Finally, it boils down to:

“an old version of vpnc-script. This script is what sets up all the addresses and routes for you. The OpenConnect project provides an updated / revised release of this script. Download the latest copy from here . Replace the vpnc-script script that comes with the Ubuntu vpnc package: /etc/vpnc/vpnc-script.”