Ubuntu Linux
Ubuntu Linux has a built-in, open source VPN client that is compatible with our Cisco VPN system, so you don’t need to download the Linux client on the VPN download page. These instructions are for the Breezy, Dapper, and Edgy versions of Ubuntu. Run ‘lsb_release -c‘ to check your version. If you are running Warty or Hoary, we recommend that you upgrade the operating system first, as these versions no longer receive security updates.
Install the VPN client
- In a terminal on your personally-owned laptop or computer, become root:
sudo bash - Install the vpnc package:
aptitude install vpnc
If this command installs the package, you can skip to Configure the VPN client. - If aptitude says it couldn’t find the “vpnc” package, type:
lsb_release -c
The output indicates your Ubuntu version. At the top-left of the screen, select:
System -> Administration -> Synaptic Package Manager
then select:
Settings -> RepositoriesFor Edgy machines, the window will look like this:
Make sure all the check marks are checked in the Ubuntu 6.10 tab, as shown.
Hit ‘Close’ and ‘Reload’. Close the Synaptic Package Manager and (as root) rerun:aptitude install vpncFor Dapper machines, the window will look like this:

Make sure the ‘Ubuntu 6.06 LTS (Binary) – Community maintained (Universe)’ entry is checked in the
Installation Media tab, as shown. Hit ‘Close’ and ‘Reload’. Close the Synaptic Package Manager and (as root) rerun:aptitude install vpncFor Breezy machines, click on ‘Add’. The window will look like this:

Under the ‘Ubuntu 5.10 “Breezy Badger”‘ repository, ensure all four components are checked, as shown.
Click on Ok, Ok, and then Yes to reload the repository database.
Close the Synaptic Package Manager and (as root) rerun:aptitude install vpnc - if
aptitude install vpnc worked well or vpnc installed then proceed to configuration part.
Configure the VPN client( your correct login should work as root. so if any issue then prefix “sudo” with any command.)
- While still as root, go to the vpnc config directory:
cd /etc/vpnc (If permission denied issue then change permission of vpnc folder- sudo chmod 777 vpnc) - Create a custom profile:
cp example.conf cs-vpn.conf - Edit cs-vpn.conf (e.g. ‘
pico cs-vpn.conf‘) - At the top you’ll see something like this:
IPSec gateway 192.0.2.32Set the following information:
IPSec ID myGroup
IPSec secret myGroupPWD
Xauth username myUserName
IPSec gateway <Host Server>
IPSec ID <Vpn Username>
IPSec secret <Vpn Password>
Xauth username <your system username>
Where<Host>,<Username>, and<Password>are taken from the bottom of the VPN download page
and<your_System_username>is your normal system username. (Don’t include the brackets.) - Save the file and exit. Logout from root within the terminal.
Run the VPN client
In order to connect to the VPN, just type:
sudo vpnc cs-vpn
Enter your CS password when prompted.
To disconnect, type:
sudo vpnc-disconnect
