VPN on Linux

ZIM HilfeWiki - das Wiki
Die deutsche Version finden Sie auf der Seite VPN unter Linux

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 from other networks (dial-up via other providers, external company or university networks).

What needs to be done?[Bearbeiten | Quelltext bearbeiten]

  • To use OpenVPN, you must first download a etwork certificate.
  • Use your package manager to install OpenVPN version >2.4 and the OpenVPN support for the network manager.
  • Download the configuration file:

  • Import the configuration file "OpenVPN-UPB-NG_*.ovpn" and the user certificate into the network manager.
  • Connect to the university via OpenVPN.
  • Configuring VPN on Linux

Step-by-step instructions[Bearbeiten | Quelltext bearbeiten]

Create network certificate[Bearbeiten | Quelltext bearbeiten]

To use OpenVPN, you must first install a personal network certificate.

If you use the WLAN "eduroam", the certificate is already installed on your computer.

Configuring VPN on Linux[Bearbeiten | Quelltext bearbeiten]

Download the configuration file, select the VPN you want to connect to and click on Download.

Normally "Uni-VPN (Standard)" should be the right choice, but if you have problems with the connection, try "Uni-VPN-TCP" again.

At least version OpenVPN 2.4 is required.

Connection via the network manager of Ubuntu[Bearbeiten | Quelltext bearbeiten]

There is also the possibility to set up the connection via the network manager of Ubuntu.

To use the network manager, the previously created network certificate must be unpacked:

$ 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 two new files are copied to a secure location in the user directory with the network certificate.


To do this, the necessary packages must first be installed via terminal:

# sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome

With the help of the Network Managers (network connections) a new VPN connection can be create. To do this, click on "Add".

VPN Unter Linux 01.png



Konfiguration importieren.png



In the next window the connection type OpenVPN must be selected.

Zertikate einstellen.png

Afterwards the just unpacked certificates must be selected. The CA certificate field should be filled automatically.

If the CA certificate field is not filled in automatically, the configuration file "openvpn-upb-ng-lin.ovpn" should be renamed to "openvpn-upb-ng-lin.pem" and additionally placed in the folder with the certificates. Then you can select the file as a CA certificate.



Abgeschlossene Einrichtung



After saving, the VPN connection can be activated via the upper system bar.



Bei Fragen oder Problemen wenden Sie sich bitte telefonisch oder per E-Mail an uns:

Tel. IT: +49 (5251) 60-5544 Tel. Medien: +49 (5251) 60-2821 E-Mail: zim@uni-paderborn.de

Das Notebook-Café ist die Benutzerberatung des ZIM - Sie finden uns in Raum I0.401

Wir sind zu folgenden Zeiten erreichbar:


Mo Di - Fr
Vor-Ort-Support Geschlossen Über die Feiertage geschlossen
Telefonsupport 08:30 - 13:00 Über die Feiertage geschlossen


Das ZIM:Servicecenter Medien auf H1 hat aktuell zu folgenden Zeiten geöffnet:

Mo Di - Fr
08:00 - 16:00 Über die Feiertage geschlossen


Cookies helfen uns bei der Bereitstellung des ZIM HilfeWikis. Bei der Nutzung vom ZIM HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.