If patch is not installed in your ubuntu, you can get it by using the following command:
bash$ sudo apt-get install patch
Download vpnclient-linux-4.8.00.0490-k9.tar.gz (mirror) to your home directory.
Open a terminal window and untar the vpnclient(better install in your home dir) with the following command:
bash$ tar -xzf vpnclient-linux-4.8.00.0490-k9.tar.gz
This will create a new folder called vpnclient in your home directory. Leave the terminal window open, you’ll need it later.Download the patch (mirror) and save it to the vpnclient folder that was created in step 2.
Go back to your terminal window and move into the vpnclient folder:
$ cd vpnclient/Now patch the Cisco VPN source with this command:
$ patch < vpnclient-linux-2.6.22.diffNext we actually build the Cisco VPN client, issue this command:
$ sudo ./vpn_install
Just hit enter for everything it asks you, the defaults are all OK. You may see lots of warnings, but those are OK.The VPN client is installed, now we need to start it: (If you have any trouble doing it, try stoping it and restarting - bash$ sudo /etc/init.d/vpnclient_init restart)
bash$ sudo /etc/init.d/vpnclient_init startPlace your .pcf configuration files in /etc/opt/cisco-vpnclient/Profiles/
If your .pcf file is called myVPN.pcf, you’ll connect to the VPN with the following command:
$ sudo vpnclient connect myVPN
.
This is really easy. If you feel trouble, pls free to comment me.