VPNC is an open-source VPN client for Linux and other Unix systems which is compatible with the OUCS VPN Service. Note that we also provide a Cisco AnyConnect VPN Client for Linux. The VPNC client is supported only on a best-efforts basis by the Computing Services but may be useful on systems that are not supported by the Cisco AnyConnect VPN client.
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.
As linux distributions vary these instructions will not take you step by step through obtaining and installing the software but assume you are familiar with installing software on your system. They do provide full information on configuring the software once it is installed.
For Linux Debian or Ubuntu users, the package is in the
package repository. Ubuntu users can install
vpnc using the Synaptic Package
Manager. Assuming you are using the default Gnome environment go to
[System] then open
[Administration] and finally
vpnc and install it. If the package does not appear on the
search list then check that the
universe package repository has been
added and the list of packages has been refreshed. You may also see related entries for
network-manager-vpnc. If you would
like a GUI interface to the vpnc program you can install one of these packages as well
as the core vpnc package (
kvpnc is for the KDE environment).
Where you cannot use a package manager to install VPNC it can be downloaded from http://www.unix-ag.uni-kl.de/~massar/vpnc/.
You will also need some group configuration information. Members of Oxford
University can download a file containing this information from the Software Registration and
Downloads page (select
[VPNC Client for Linux/Unix] from the list).
This will display the VPNC Client for Linux/Unix page. Click on the
configuration file to display the configuration information you will need.
Enter IPSec gateway address:
Enter IPSec ID for vpn.ox.ac.uk:
oxford[also known as the group id]
Enter IPSec secret for email@example.com:
******[the group password]
Enter username for vpn.ox.ac.uk:
*****[(OUCS remote access personal username)]
Enter password for firstname.lastname@example.org:
******[OUCS remote access personal password)]
You can also save the connection settings in a configuration file so that you don't
need to type them in every time you want to connect. To do this, type in at the
sudo gedit /etc/vpnc/oxford.conf
This will open the Gedit editor and create a configuration file. Make sure there is only a single space between a feature and a value. Note that this method requires you to save the passwords in plain text. So don't save any passwords to this file if you're using a shared computer!
IPSec gateway vpn.ox.ac.uk IPSec ID oxford IPSec secret PASSWORD Xauth username YOUR-REMOTE-ACCESS-USERNAME Xauth password YOUR-REMOTE-ACCESS-PASSWORD