Linux is only rudimentarily supported by the IMT. Info is addressed to "professionals". Use at your own risk. |
On 30/03/2023, the certificates for the VPN service were updated. You can use VPN only if you have installed the current configuration file. You do not need to install a new user certificate.
VPN (Virtual Private Network) is needed if you want to use your computer from outside the university to access services that are only accessible within the university network. VPN guarantees secure access to the university network through other networks (dial-up via other providers, external company or university networks).
This guide is based on Ubuntu 22.04.2 LTS. Other distributions may work similarly. We cannot provide a guide for every distribution.
What needs to be done?[Bearbeiten | Quelltext bearbeiten]
- Download personal network certificate.
- Download configuration file:
- Store network certificate and configuration file in a folder. Don't change the path later.
- Rename the certificate.
- Setup VPN
Step-by-step instructions[Bearbeiten | Quelltext bearbeiten]
Create network certificate[Bearbeiten | Quelltext bearbeiten]
Open the ServicePortal and login with your Uni-Account.
- Click on Benutzerverwaltung and on Netzwerk-Einstellungen.
Datei:Eduroam-win10-1.png
Click on Neues Zertifikat erstellen.
- Insert an identifier like "Laptop <Manufacturer>".
- Click on Neues Zertifikat zusenden.
- You created a new network certificate.
- Copy the Import Passwort or leave the tab open for later.
- Download the network certificate via "Netzwerkzertifikat herunterladen".
VPN unter Linux konfigurieren[Bearbeiten | Quelltext bearbeiten]
Download the configuration file, select the VPN you want to connect too and click on Download.
Usually "Uni-VPN (Standard)" should work, but if you have problems with the connection, try "Uni-VPN-TCP".
Information: You can click here on "Download". This is not a screenshot ;-).
Den gesamten Internetverkehr durch den Tunnel leiten?
- Access to online resources may require that you route all network traffic through the tunnel.
- For access to network drives only, you do not need this option.
Create folder[Bearbeiten | Quelltext bearbeiten]
- Create a new folder and place the network certificate and the configuration file there.
- Choose the location carefully - you must not move or rename the folder later.
- Rename the network certificate in
Network_Certificate.p12
- The contents of the folder should look like this.
Configure VPN[Bearbeiten | Quelltext bearbeiten]
- Click on the "Network symbol".
- Click on "Settings".
- Click in the VPN area on the
+
to add a connection.
- Choose "Import from file...".
- Navigate to the folder that we created for the VPN.
- Select the config file.
- Click on "Open".
- The VPN settings have been imported from the config file.
- Insert the "Import-Passwort" for the network certficate. (1)
- Click on "Add". (2)
- Click on the switch to connect with the VPN.
Connect VPN[Bearbeiten | Quelltext bearbeiten]
- You can connect the VPN via the network menu.
=Disconnect VPN[Bearbeiten | Quelltext bearbeiten]
- Disconnect the VPN via the network menu.
Check VPN[Bearbeiten | Quelltext bearbeiten]
You can check your VPN connection by visiting:
Advanced[Bearbeiten | Quelltext bearbeiten]
- OpenVPN 2.4 or newer is mandatory.
- You can setup VPN via the network manager.
- The certificates need to be unpacked first:
$ openssl pkcs12 -in Network_Certificate.p12 -out Network_Certificate_OPVPN.crt.pem -clcerts -nokeys
$ openssl pkcs12 -in Network_Certificate.p12 -out Network_Certificate_OPVPN.key.pem -nocerts -nodes
The network certificate and the config file need to be stored in a secure area of the user directory.
- Under OpenSSL 3.0.2 maybe an additional parameter is necessary:
-legacy
- It my be necessary (e.g. Arch) to install the "openssl-1.1" package and run the prompts above with "openssl-1.1" instead of "openssl".
You need to install the required packages via terminal:
# sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome