Howto Connect to a Cisco VPN from a Ubuntu Client

Linux stuff below, please move along.

Howto use Ubuntu’s default network management client to connect to a Cisco VPN

By default the VPN client included in Ubuntu 10.04 is only able to connect to pptp VPNs. If you want to try to connect to a Cisco VPN, you will need to install the VPNC packages.

Run this command:
sudo apt-get install vpnc network-manager-vpnc-gnome network-manager-vpnc

Once installed, you can get started configuring the client by clicking on the network-manager icon in the control panel.  (Here’s what it looks like when connected to a WiFi network)

On the menu that pops up,  hover over “VPN Connections” and click “Configure VPN…”   The following menu should appear.

From here, click add and you will see the following screen.

Since vpnc was already installed , when you click to add a new connection, you will be able to select the Cisco Compatable VPN Client (IPSec).

On this screen, you need to fill in the IP Address,  Preshared Key, and any local or radius authentication information.   In my expiriences the NAT-T transversal method was the only way to get NAT working correctly with Cisco ASA endpoints.

On the IPV4 tab,  nothing needs to be changed on the main page, but you will need to go under the routes button at the bottom.

This screen should appear.

In order to enable split tunneling, you will need to check the “Use this connection only for resources on its network”  box.    If you do not have this checked, you will be able to access the remote VPN networks, but will not be able to browse the internet unless the VPN endpoints are configured to route that traffic to the internet.

That is all for now,  any feedback on the howto would be greatly appreciated.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

Up ↑

%d bloggers like this: