Thursday, February 26, 2009

[VPN] How to install Cisco VPN client on Ubuntu

Here is a quick guide on how I set up Cisco VPN client.
  1. Install the "patch" tool if you haven't done already, eg. run "sudo apt-get install patch".
  2. Download the client: to whatever location.
  3. run "tar zxvf vpnclient-linux-x86_64-"
  4. Go to the new dir, eg. "cd vpnclient"
  5. Download the patch that matches your kernel into the directory where your vpn client was extracted. In my case:
  6. Run "patch < vpnclient-linux-2.6.24-final.diff" in the directory where you extracted the vpnclient.
  7. Install the vpnclient by running "sudo ./vpn_install" and follow the instructions.
  8. Start the vpn client: "sudo /etc/init.d/vpnclient_init start"
After installation you can add the VPN profiles you need (pcf files) to the cisco profile directory "/etc/opt/cisco-vpnclient/Profiles/".

Once everything has been set up, use "sudo vpnclient connect <your-vpn-profile>" to connect to the VPN.

That's it!


No comments: