Installing and using the UCI VPN (Cisco AnyConnect) with Ubuntu/Xubuntu 10, 11, 12, and 13 (either 32 or 64-bit)(1)
To get the Cisco VPN client working for an Ubuntu system, you'll need to install both the Cisco AnyConnect client and the Linux Network Manager OpenConnect plugins.(2)
OIT has a good general instruction page on setting up the Cisco AnyConnect VPN client software for Linux, but owing to Ubuntu's Network Manager infrastructure being so different, I got tripped up in a couple of places and thought I'd pass on some tips for those who have Ubuntu and want to connect into UCI's VPN. At that time, I was using Ubuntu 10, but in the latest versions (12 & 13), it has gotten much easier.
cd ~/Downloads tar zxvf anyconnect-3.1.03103.tar.gz cd anyconnect-3.1.03103/vpn sudo ./vpn_install.sh
(of course by the time you read this, the anyconnect version number -- anyconnect-3.1.03103 -- will probably be different/newer for you -- make the appropriate replacements in the lines above, for yourself.)
Do you accept the terms in the license agreement? [y/n] y You have accepted the license agreement. Please wait while Cisco AnyConnect Secure Mobility Client is being installed... Starting Cisco AnyConnect Secure Mobility Client Agent... Done!
in a terminal, type:
sudo apt-get install network-manager-openconnect(or install via Synaptic)
I find that as of 2013, for my Ubuntu home system this is no longer necessary. You can probably skip the installation of the GoDaddy certificates, too. But I leave it here in case you find it necessary.
Go to ftp://ftp.uci.edu/linux-anyconnect-cert-fix/ and follow the instructions in the README.
(From now on, all you should have to do is this section any time you want to connect.)
now all your connections to UCI (web, ssh, ftp, etc.) will be through the VPN until you disconnect.
Please email me to let me know how this process went for you, and/or with any suggestions for improvement on this page itself. Thanks.
(1) Tux Cisco image snarfed from Tom Distler's page, How to connect Linux to a Cisco VPN using a PCF file.
(2) ..thanks to a page at Georgia Tech, from which this page was adapted
(3) or from the main desktop menu, click System->Preferences->Network Connections and select the VPN tab. OR from the main desktop menu, click Settings Manager->Hardware->Network Connections. One of these (or something like them) should get you in the ballpark. (Don't you just love the Linux desktop Zoo???)