Setting up Cisco VPN Client on Ubuntu
Dec 6th, 2007 by Li Zhao
- Download vpnclient-linux-4.8.00.0490-k9.tar.gz and extract it to your home directory
- $ tar xvfz vpnclient-linux-4.8.00.0490-k9.tar.gz ~
- Download the patch to your home directory and patch the installer.
- $ cd ~/vpnclient
- $ patch < ../vpnclient-linux-2.6.22.diff
- Installing the VPN Client
- $ sudo ./vpn_install
- Starting VPN Client service
- $ sudo /etc/init.d/vpnclient_init start
- Copy VPN Profiles to /etc/opt/cisco-vpnclient/Profiles/ and changes permission of the *.pcf files
- $ chmod 777 /etc/opt/cisco-vpnclient/Profiles/*.pcf
- Last change permission of vpn daemon (this allow regular user to use vpn client without sudo)
- $ sudo chmod 4111 /opt/cisco-vpnclient/bin/cvpnd
- To connect to your <VPNProfile>.pcf do the following command
- $ vpnclient connect <VPNProfile>
Reference: http://www.longren.org