VPN unter Linux/en: Unterschied zwischen den Versionen

ZIM HilfeWiki - das Wiki
Zeile 23: Zeile 23:
  
 
=== Configuring VPN on Linux  ===
 
=== Configuring VPN on Linux  ===
Download the configuration file, select the VPN you want to use and click on Download.
+
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".
 
Usually "Uni-VPN (Standard)" should work, but if you have problems with the connection, try "Uni-VPN-TCP".

Version vom 27. März 2020, 13:24 Uhr

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 through 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 network 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 Wi-Fi "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 too and click on Download.

Usually "Uni-VPN (Standard)" should work, but if you have problems with the connection, try "Uni-VPN-TCP".

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, together with the network certificate, are copied to a secure location in the user directory.


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

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

Using the Network Manager (network connections) a new VPN connection can be created. 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-Do Fr
Vor-Ort-Support 08:30 - 16:00 08:30 - 14:00
Telefonsupport 08:30 - 16:00 08:30 - 14:00


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

Mo-Do Fr
08:00 - 16:00 08:00 - 14:30
Cookies helfen uns bei der Bereitstellung des ZIM HilfeWikis. Bei der Nutzung vom ZIM HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.