When one attempts to connect to their VPN after installing and configuring vpnc on Ubuntu Oneiric, the following error occurs:
root@ubuntu:~# vpnc-connect Error: either "to" is duplicate, or "ipid" is a garbage. |
After some time it eventually times out and fails to create a connection.
vpnc version information:
root@ubuntu:/tmp# vpnc --version vpnc version 0.5.3 Copyright (C) 2002-2006 Geoffrey Keating, Maurice Massar, others vpnc comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of vpnc under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING. Built with certificate support. Supported DH-Groups: nopfs dh1 dh2 dh5 Supported Hash-Methods: md5 sha1 Supported Encryptions: null des 3des aes128 aes192 aes256 Supported Auth-Methods: psk psk+xauth hybrid(rsa) |
It appears that the Ubuntu package vpnc comes with 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.
Thanks- worked for me. For extra search bait, we should say that this is for linux 3.0.0 and for the cisco vpn protocol.
This fixed the problem for me on Ubuntu 11.10, thanks, saved me a lot of headache.
Official Ubuntu report seems to be this: https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/805435
Thank you very much. Your fix works perfect.
Thank you very much!
Thank you very much! Worked for me.
Thanks so much for this. Fixed my Cisco VPN connection from Oneiric first up!
Thanks, this fixed it for me too.
Thanks a lot ! Worked for me too.
Thanks, works well.
This worked for me as well. Thanks!