Getting UCI VPN (Cisco AnyConnect) going with Ubuntu 10.04 (either 32 or 64-bit)
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.
Summary: I found(1) i could get neither the Cisco
AnyConnect client nor the Linux Network Manager openconnect plugins to
work by themselves, but with both installed, i can use UCI's VPN.
Here's what worked for me:
- Install Cisco AnyConnect client licensed to UCI
- Go to UCI'S Software licenses page
- type vpn in the Free-form query box and hit Go!
You should be taken to a page for VPN Client by Cisco
- Look down to the UCI only information section.
- If you're not logged in, click on the Please login... link
- Select Linux 32-bit or Linux 64-bit, depending on your system, and click Download my choice
- Now, supposing you downloaded this to ~/Downloads, open a terminal and..
cd ~/Downloads
tar zxvf anyconnect-<version>.tar.gz
cd ciscovpn
sudo ./vpn_install.sh
- Install Ubuntu Network Manager plugins
in a terminal, type:
sudo apt-get install network-manager-openconnect
(or install via Synaptic)
- Configure a NetworkManager VPN profile for UCI
Network Manager icon in your System Tray on your desktop:

- left-click on the Network manager icon in your system tray, and choose VPN Connections->Configure VPN(2)
- click Add
- choose Cisco AnyConnect Compatible VPN (openconnect) and click Create
- Connection name: anything you want, e.g., UCI.
- Gateway: vpn.nacs.uci.edu
- User name: leave blank.
- hit Apply and then Close
- Install GoDaddy Certificates
Go to ftp://ftp.uci.edu/linux-anyconnect-cert-fix/ and follow the instructions in the README.
- Connect/Disconnect
(From now on, all you should have to do is this section any time you want to connect.)
- left-click on Network Manager icon in your system try and choose VPN Connections->UCI (or whatever you named your connection).
- click on the "plug" icon to the right of the vpn.nacs.uci.edu, which by its greyed-out appearance would seem to be inactive.

- choose your Group. this corresponds to the VPN Connection Tunnels documented on UCI's VPN-for-Linux page. (for better speed when making non-uci connections, i usually just choose the UCI split tunnel group).
- fill in Username and Password with your UCINETID credentials
- click Login
now all your connections to UCI (web, ssh, ftp, etc.) will be through the VPN until you disconnect.
- when you're done using the UCI VPN, just left-click on Network Manager icon in your system try and choose VPN Connections->Disconnect VPN.
Please let me know (ucinetid: jas) if you got different mileage, or
if you just have suggestions for improvement of this page. Thank
you.
Footnotes
(1) ..thanks to a page at Georgia Tech, from which this page is adapted
(2) or from the menu, click System->Preferences->Network Connections and select the VPN tab.