skip to primary navigationskip to content
 

Android - using built-in client

Configuring the UIS VPN service on Android

The following instructions are for generic Android 4.4 (KitKat) as provided for the Nexus phones and tablets. They have also been tested on Android 5.0 (Lollipop), Android 4.1 and 4.2 (Jelly Bean) on generic and Samsung devices and should work. There are some minor user interface differences, such as menus or buttons being ordered differently or a slightly changed looks). Other devices, or other versions of Android may differ slightly.

Before you begin, please ensure:

  • You know your Network Access Username - typically your CRSid (username) followed by "@cam.ac.uk".  For example, "xyz789@cam.ac.uk".
  • You have your Network Access Token - either written down, or displayed on the screen of an adjacent device.  This is a 16 character long password and is NOT the same as your University (Raven) password. You can find out your token by visiting the Network Access Token site.
  • If you have been advised to use a Managed VPN, rather than the general University VPN service, you will need the VPN server hostname.  Available VPNs and their server hostnames are listed on the Managed VPN page.

To set up the VPN service:-

  1. Using the web browser on your Android device (Chrome or other browser), download the VPN client identity file (you do this by either visiting this page on your device and selecting the above link, or by directly entering the above web address). You may be asked which program you wish to use to open the file - if so, select Chrome (if installed) or your web browser.
  2. You will be prompted to enter a password to extract the certificates in the file. Enter the password "vpn" (note lower case, without the quotes) and tap OK:
    extracting certificates
  3. You will now be asked to name the certificate and confirm its installation. The default name of Cambridge VPN client identity and and use (VPN and apps) should be as shown and can simply be acknowledged with OK. At this point you may be prompted to enter the passcode or PIN; if you are, enter the code used to unlock your Android device:
    name the certificate
  4. Using your web browser download the VPN server certificate.
    Alternatively, if you are using an institutional Managed VPN, you should select the server certificate (at the bottom of the Managed VPN Service for Institutions page) that corresponds to your institution.
  5. You will be prompted to name this certificate. This time, the name will be blank and you should enter vpn.uis.cam.ac.uk 2014 and tap OK.  Alternatively, if you are using a Managed VPN, substitute this for the VPN server hostname followed by the current year (e.g. "vpn.botolphs.cam.ac.uk 2015").
    Note that the year is required, as the certificate must be periodically updated (typically every 2-3 years) and it is necessary to record which certificate was stored:
    name the certificate
  6. Go back to the Home screen (via the house button [Android 4.x] or the circle [Android 5.0] under the screen).
  7. From the home screen go to the Apps Menu:
    home menu
  8. Find the Settings application and start it:
    Settings
  9. In the Wireless & Networks section at the top select More...:
    More setting
  10. On the menu which appears, select the VPN option:
    VPN option
  11. You will see a list of configured VPN services (most likely be empty at this point). Tap the + (Add) button in the top right corner:
    "Add
  12. A box will appear, prompting for details for the VPN service. Enter the details as follows and tap Save:
    • Name: Cambridge VPN
    • Type: IPSec Xauth RSA
    • Server address: vpn.uis.cam.ac.uk or, if you are using a Managed VPN, use the VPN server hostname
    • IPSec user certificate: Cambridge VPN client ID (this will match the name entered when adding the user certificate earlier)
    • IPSec CA certificate: (don't verify server) (the default)
    • IPSec server certificate: vpn.uis.cam.ac.uk 2014 (this will match the name entered for the server certificate earlier: if you are using a Managed VPN, you should select the certificate you stored, instead)
    Add details
  13. The list of VPN connections will return, with the new connection now displayed:
    VPN list
  14. Tap on the new connection (Cambridge VPN) and the connection box will be displayed, prompting for your username and password. Enter them as shown below and press Connect:
    • Username: CRSid@cam.ac.uk (as displayed on the Network Access Token website - note the "@cam.ac.uk" suffix)
    • Password: (16 character Network Access Token) (available from the Network Access Token website)
    • Save account information: Check (to remember your username/password)
    Connection dialogue
  15. If the connection is successful, the VPN connection list will show Connected under the Cambridge VPN entry and a key symbol displayed in the top left corner of the screen:
    Connected
  16. The key symbol will remain on screen whilst you are connected. If you pull down the Notification Area (by dragging down from the top left of the screen in any application) you will see the connection listed:
    Connection list

To disconnect

To disconnect, drag down the Notification Area and tap the connection. Then tap the Disconnect button:
Disconnect buttton

To reconnect

Whenever you wish to reconnect to the VPN:

  1. From the home screen, select the Apps Menu
  2. Run the Settings app
  3. Under Wireless & Networks, select More...
  4. Tap the VPN option
  5. Tap the Cambridge VPN to bring up the Connect box
  6. Tap Connect