OpenVPN¶
Whichever OS you are using to connect you will need to create an OpenVPN certificate on https://portal.er.kcl.ac.uk/access/vpn and download the generated file.
OpenVPN on Ubuntu¶
- On Ubuntu desktop open Settings -> Network and click the + to add a VPN.
- Choose 'Import from file...' and select the file downloaded in the step at the very top of this page.
- select the IPv4 tab at the top of the dialogue
- check the box Use this connection only for resources on its network
- select the IPv6 tab
- check the box Use this connection only for resources on its network
- and click 'Add'
- select the IPv4 tab at the top of the dialogue
- When connecting for the first time (and somewhat regularly after) you will have to visit the MFA page on the portal and confirm you are trying to access the VPN.
- In a terminal add the dns servers and domain:
sudo resolvectl dns tun0 172.17.6.79 172.17.6.80
sudo resolvectl domain tun0 "~er.kcl.ac.uk"
OpenVPN on MacOS¶
- Install the latest stable release of Tunnelblick from https://tunnelblick.net/downloads.html.
- Details on how to start Tunnelblick and import the configuration file are on https://tunnelblick.net/czUsing.html.
- When connecting for the first time (and somewhat regularly after) you will have to visit the MFA page on the portal and confirm you are trying to access the VPN.
OpenVPN on Windows¶
- On KCL Windows machines OpenVPN can be installed using the "Software Center", in Software Center the app required is "OpenVPN (x64)"
- for private machines the OpenVPN GUI Client can be downloaded from https://openvpn.net/community-downloads/
- Start OpenVPN, it may show a message saying that there is no configuration file.
- right-click the OpenVPN icon in the system tray and select Import -> Import file...
- browse to the file downloaded in the step at the very top of this page and open it
- you should see a confirmation message that the file was imported succesfully
- Right-click the system tray icon and select connect.
- When connecting for the first time (and somewhat regularly after) you will have to visit the MFA page on the portal and confirm you are trying to access the VPN.