I have been working with Cisco's vpn client for about two years now. It is a nice product... if you never update your kernel!!!
Case in point; I use Ubuntu and recently upgraded to version 7.04 (Feisty Fawn). I was able to get Cisco's vpn-client working with the original kernel on version 7.04 via a diff patch, but last week a new kernel came down in the updates... and guess what stopped working?
Anyway, after asking Google for help and trying a couple of things, I ran into a blog that talked about converting my Cisco PCF files to work with vpnc. Well, 5 minutes later I was back in the VPN world again, connecting to my office without a single kernel module complaining!!!
So here are the steps I performed;
1. Install vpnc.
sudo apt-get install vpnc
2. Download the pcf2vpnc perl script.
wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
3. Make the script executable.
chmod +x pcf2vpnc
4. Convert your .pcf files to work with vpnc.
./pcf2vpnc cisco.pcf > cisco.conf
5. Copy your new .conf files to /etc/vpnc.
sudo cp cisco.conf /etc/vpnc/
6. Connect using vpnc.
sudo vpnc-connect cisco
7. To disconnect your vpn tunnel.
sudo vpnc-disconnect
Good luck,
Mike
Grover's Links
Sunday, June 10, 2007
Subscribe to:
Post Comments (Atom)
9 comments:
It has really helped me, thanks a lot!
Federico
Worked perfectly. Many thanks.
Michael - I had the same experience with the Cisco client. Thanks for putting up the quick how - to. vpnc is the way to go!
-William
Hi Michael,
thank for sharing your information about vpnc. I had to left Cisco VPN for the know issue. I did all operation you described, but when I execute pcf2vpnc, this is the message: root@gennaro-laptop:/etc/CiscoSystemsVPNClient/Profiles# pcf2vpnc Welfare.pcf > Welfare.conf
Can't exec "cisco-decrypt": No such file or directory at /usr/bin/pcf2vpnc line 29.
cisco-decrypt not in search path,
adding passwords in obfuscated form
Any ideas?
Thanks in advance,
Gennaro
Thanks, this has been a help
@ Genaro... to get your vpnc working you have to do some more steps...
try following the steps here:
http://www.spiration.co.uk/post/1293/ubuntu%20linux%20VPN%20connection%20without%20cisco%20vpn%20client
If that doesn't work, fire me an email @
Gmail
HI,
I am trying to convert the pcf file on widows XP proffessional -because I have a Windows VISA 64 machinne that I can not conect with the Cisco Client..- I can not do it.
Do you know why?
get cisco-decrypt from http://www.debuntu.org/files/cisco-decrypt.c ;
gcc cisco-decrypt.c -o cisco-decrypt;
sudo cp cisco-decrypt /usr/bin/.
Then run the pcf2vpnc script.
Please have a look at this url for step by step installation procedure.
http://sandy-lab.blogspot.com/2008/10/how-to-install-cisco-vpn-clientvpnc-in.html
Post a Comment