Site_Graphic Site_Graphic

Using the VPN service

Who the service is for

The Virtual Private Network (VPN) service is for members of the Department using PCs outside Statistics, either from Colleges or other University Departments, or from a connection anywhere in the world. These instructions are for Windows, Mac  and Linux users.

What the service provides

When connected to the Statistics VPN service you can access resources and services usually available only within the Department. It will allow you to print to departmental printers and to view the files in your home directory.

If you intend to use this service please mail ithelp and let us know. The instructions below will not work unless our VPN server is configured to recognise your username.

VPN is available for Windows, Mac OS X and Linux

Setting up a VPN connection in Windows

You will need to have Administrator privileges on your PC to set up the connection. If you wish to set up a connection from a PC in your College, then College IT staff may need to help you with this.

To set up a VPN connection to our server from Windows 7, please follow the instructions below:

  • Open Network and Sharing Center (Start > Control Panel > Network and Internet > Network and Sharing Center)
  • Click on Set up a new connection or network
  • On the Set Up a Connection or Network windows, select Connect to a workplace and click on Next
  • Select No, create a new connection if asked to use an existing connection, and click Next
  • Click on Use my Internet connection (VPN)
  • Type in vpn.stats.ox.ac.uk as the Internet address
  • Type in a name for the connection (say, Statistics VPN)
  • If you want to use this connection from other accounts on this machine, check the Allow other people to use this connection option
  • Check the Don't connect now; just set it up so I can connect later option
  • Click on Next
  • Click on Create
  • Close the window
  • On the Network and Sharing Center window, click on Connect or disconnect
  • On the smaller window that appears, click on the new connection (Statistics VPN)
  • Click on the Connect button that appears underneath
  • On the new Connect Statistics VPN window, click on Properties
  • On the new Statistics VPN Properties window, click on the Security tab
  • Change the Type of VPN to Point to Point Tunneling Protocol (PPTP)
  • Click on OK
  • Enter your Statistics username and password and click on Connect. We recommend that you do not check the "Save this username ..." box.
  • Once the name of the new network connection appears when you hover the mouse pointer over the network icon your taskbar, you are connected.

Disconnecting from the VPN

Once you have finished using the VPN, click on the network icon on the taskbar, click on Statistics VPN, and click on the Disconnect button; this will disconnect you from the VPN. You will still be connected to your normal network.

Reconnecting to the VPN

Once the connection has been set up it can be used again without Administrator privileges.

  • Connect to your normal network
  • Click on the network icon on the taskbar
  • Click on Statistics VPN
  • Click on the Connect button underneath Statistics VPN
  • Type in your username and password and click on Connect

See here for how to access your P: drive.

Setting up a VPN connection in Mac OSX 

1. System Preferences -> Network
2. Click Add (+) at the bottom of the network connection services list, and then choose VPN.
3. Choose the type of VPN connection `PPTP'. and give the VPN service a name e.g. STATS VPN.

 Screen_shot_2011-10-03_at_15.01.23

Enter the server address and the account name for the VPN connection.
4: Enter details as follows:
                      Server address: vpn.stats.ox.ac.uk
                      Account name: statsusername

 Screen_shot_2011-10-03_at_15.05.05

5. Click Authentication Settings, check `Password' and enter your password

 Screen_shot_2011-10-03_at_15.05.30

6. Click OK, and then click Connect. 

On some newer Macs we've seen that a setting occasionally needs to be changed to allow the VPN connection to work properly. If your connection often drops out after a short time then try this. We cannot guarantee that this will work.

1. Open Network Preferences
2. Click on the VPN connection
3. Click Advanced
4. Make sure that the 'Send all traffic over VPN connection' box is checked. All three boxes should be checked.
5. Click OK
6. Close network preferences

Setting up a VPN connection in Linux

These instructions work for Ubuntu 11.4 and Fedora 14.

1. From the network menu on the top panel go to VPN Connections -> Configure VPN...
2. Click on Add
3. On the 'Choose a VPN Connection Type' choose 'Point-to-Point Tunneling Protocol (PPTP)'. It will probably be the only option.
4. Click on Create
5. In the new window fill in the following:
Connection name: Oxford Statistics (or some other obvious name)
Gateway: vpn.stats.ox.ac.uk
User name: YOUR STATS USERNAME
Password: LEAVE BLANK
NT Domain: LEAVE BLANK
6. Click on Advanced
7. In the list 'Allow the following authentication methods:' uncheck [and this is important]
PAP
CHAP
EAP
and leave
MSCHAP
MSCHAPv2
checked.
Under 'Security and Compression check 'Use Point-to-Point encryption (MPPE)'
and leave everything else as it is.
8. Click on OK
9. Click on Save
10. Click on Close
11. Now either reboot or disconnect and reconnect your current network.

Once the network link has been re-established click on VPN Connections -> Oxford Statistics.

A pop-up asking you to enter your password should appear. Enter your usual Stats password.

To check that you are connected make sure you can view the internal web pages on https://internal.stats.ox.ac.uk/.

Recommendations for use

When you use the Statistics VPN connection you are routing all your traffic through our server (vpn.stats.ox.ac.uk, IP address 163.1.210.36); that means that any traffic that is not Statistics-related will be much slower than if you connected without the VPN. For this reason it is recommended that you only use the Statistics VPN for communications that require you being in the Statistics network such as sending e-mail through markov.stats.ox.ac.uk or accessing web pages that are restricted to either the University (ox.ac.uk) or Departmental (stats.ox.ac.uk) networks.

Verifying your VPN connection

One way to check that the Statistics VPN is working properly is to start the VPN service as described above. Then browse to https://register.oucs.ox.ac.uk/ and authenticate using your single sign-on username and password. The OUCS Self-Registration page appears. The box at bottom of the column on the lefthand side shows the IP address of the PC you are connecting from. If it says "163.1.210.36", then all is fine. You need to be registered to use to the OUCS Single Sign-on system to use this facility.