Contents
This document contains instructions on how to obtain, install and configure the Cisco AnyConnect Secure Mobility Client (formerly the AnyConnect VPN Client) to access the OUCS VPN Service on systems running Linux.
If the VPN installation isn't supported or successful on your system there is an Open Source VPN client called VPNC which you may be able to use instead. We provide some guidance on configuring the VPNC client.
In order to use the VPN service, you will need to have the necessary Remote Access Services username and password. For details see the online self registration service page.
Please make sure that you have read the introduction and general requirements, which apply to all VPN clients, before attempting to configure your computer or mobile device to connect to the VPN.
1. Installing and Configuring the Cisco AnyConnect Client
1.1. Obtaining the AnyConnect Client Software
Note that because of the number of different Linux distributions we cannot give exact instructions for every system. We provide guidelines for downloading and unpacking the file needed to install the AnyConnect VPN client but assume some familiarity with the command line and downloading and unpacking archives on your system.
In order to use the VPN service you must install the Cisco AnyConnect Client software, which you may download from the OUCS self-registration pages.
[VPN Client] in the list shown. Figure register.gif [Software Registration and Download page with list of available software packages]
AnyConnect Client for
Linux. ciscovpn)
to a suitable location. If not choose the option to [Save] and save the
file (called something similar to anyconnect-vpn-linux.tar.gz) to
a convenient temporary storage location on your computer's hard disk. Make a note of
where you saved the file or extracted the ciscovpn folder.Use of the VPN client software is restricted to users of the OUCS Remote Access Service only — see the web page Usage Terms for Software Agreements for details.
1.2. Installing the AnyConnect Client Software
ciscovpn. If you have not unpacked the file, try
double-clicking on it and see whether this unpacks the file or opens an archive
manager that will allow you to extract the ciscovpn folder. If
you cannot use this method to unpack the file, the following should always work.[Applications] menu, usually in one of the following folders
depending on your distribution:— [Accessories], [System
Tools] or [System].tar -xzvf
filename where filename is the name of the file you downloaded.
For example tar -xzvf anyconnect-vpn-linux-v3.tar.gz.
This will create a folder called
ciscovpn containing the files needed for installation. ciscovpn directory. If you're not familiar
with using the command line the following commands will change directory to some
standard locations where you may have unpacked the folder. sudo
./vpn_install.shY and press
Enter if you agree.Figure install.gif [Installation screen]
1.3. Making the AnyConnect VPN Connection
Choose the [Cisco AnyConnect Secure Mobility Client] program from the
[Applications] menu. This is most likely to be in a folder, also called
[Cisco AnyConnect Secure Mobility Client], under [Internet].
However it may also show up initially under a folder called [Other] and then move
to the [Internet] folder after you next reboot.
Earlier versions of the AnyConnect client may show up directly under
[Internet] and are called [Cisco AnyConnect VPN Client].
Two possible arrangements are shown below.
If you can't find the link on the [Applications] menu then you can start the
client from a terminal session by running the vpnui command from the
location where it has been installed. On Ubuntu the command would be
/opt/cisco/vpn/bin/vpnui and it may be the same on other linux
distributions.
Figure menu-apps-v3.gif [Running the VPN Client program]
Figure menu-apps.gif [Running the VPN Client program]
vpn.ox.ac.uk and click on Connect.
Figure connect1.gif [Starting the AnyConnect VPN Client program first time]
After a couple of seconds you will then be prompted to fill in your username and password. Please remember to use your Remote Access Account details.Figure connect2.gif [Enter account details (first time)]
Finally click onConnect. Note that when you run the client
next time, the Connect to: box will be populated and you should see the
username and password box automatically.Figure icon-connected-v3.gif [AnyConnect VPN Connection icon]
Figure icon-connected.gif [AnyConnect VPN Connection icon]
Figure icon-disconnected-v3.gif [AnyConnect VPN Connection icon (disconnected)]
Figure icon-disconnected.gif [AnyConnect VPN Connection icon (disconnected)]
2. Closing the AnyConnect VPN Connection
AnyConnect VPN Connection icon in the menu bar. Figure icon-connected.gif [VPN Connection icon]
[Disconnect] and click with the left
mouse button. Figure icon-connected-menu.gif [AnyConnect VPN Connection icon and pop-up menu showing Open AnyConnect, Disconnect, Quit]
Figure icon-disconnected.gif [AnyConnect VPN Connection icon (disconnected)]
VPN and choose
[Connect] to re-open the program. If you want to completely quit the VPN
client you choose [Quit] instead. The icon should then disappear from your
screen. Figure icon-disconnected-menu.gif [AnyConnect VPN Open AnyConnect or Quit]
For answers to common questions and solutions to any more frequently encountered problems please see the Frequently Asked Questions for Cisco AnyConnect VPN Client web page. For further information you can also refer to the Cisco AnyConnect VPN Client release notes.