Today I was trying to see if I can connect to office VPN from Ubuntu. Hence I tried to google and see if there is already
a solution for the same. I found that for Cisco VPN client, we need to install a package called network-manager-vpnc which is luckily available in Ubuntu repository. After that you need to create a file by any name, say remotevpn.conf in /etc/vpnc folder. In that just add the following contents in it.
Sec gateway
IPSec ID
Xauth username
Xauth password
Change the username as needed. After that just run the following command,
vpnc-connect remotevpn # here remotevpn should be replaced by the name
you had given to the conf file.
This will prompt you for a IPSec Secret password. Enter the Group password. Chances are that you might actually have a Encrypted password which you will have to convert into normal password. For that you can use the following site,
http://coreygilmore.com/projects/decrypt-cisco-vpn-password/
After entering the group password, it will prompt you for the password for the username you gave.
Enter the 4 digit password and the 6 digit RSA ID.
Thats it :). You are now connected to VPN network.