Configuring KTH VPN in Ubuntu 12.10

Installing the Cisco AnyConnect VPN client from windows is just a piece of cake. But for linux, it might not be that simple if you are not a linux guy. Of course, you can use the KTH VPN by many other means, but Cisco AnyConnect is my personal favourite for simplicity.

1. Go to http://certauth.ug.kth.se/ and download and install the certificate by double clicking and following the wizard.

2. Go to http://www.lan.kth.se/vpn/vpn.html and download the appropriate version of Cisco AnyConnect. For me, it was a 32 bit version of Ubuntu 12.10, so i chose, http://www.lan.kth.se/vpn/bin/anyconnect/anyconnect-linux-32-latest.tar.gz
Please note that, the version of AnyConnect you get from http://vpn.lan.kth.se (by running vpnsetup.sh script) no longer works as it was using IPSEC, read more about it here.

3. Extract the downloaded anyconnect-linux-32-latest.tar.gz file and go to that folder via terminal and then go to the vpn folder in it.
In my case it was,

duck@ubuntu:~/Downloads/anyconnect-3.0.10055/vpn$

after that, make the vpn_install.sh executable by the following command:

sudo chmod +x vpn_install.sh

Run the script by the following command:

sudo bash vpn_install.sh

You should see a license agreement and press y to accept it.
That’s pretty much about installation.

4. Connecting to the VPN is easy. You can always run the Cisco AnyConnect VPN client by searching for it from the Unity Dash. Start the Cisco AnyConnect VPN client and fill up according to the following:

Connect to: vpn.lan.kth.se
Group: KTH
Username: your_username@kth.se
Password: your_kth_network_secret (eduroam password)

cisco anyconnect

Note: If you don’t know or remember your network secret (eduroam password), you can see it by clicking here and logging in with your kth username (without @kth.se) and password.

Click Connect.

For the first time only, you will see a warning, just agree with it (Ok/Yes/Whatever) and everything will be fine.

When you are connected to the vpn, you should be able to see the status of the connection and different statistics from the Cisco AnyConnect window.

2 responses to “Configuring KTH VPN in Ubuntu 12.10

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s