1 Jegliche Information auf dieser Website wird »as is« zur Verfügung gestellt, ohne jegliche Garantien, weder ausdrücklich noch impliziert. Vieles ist in der Entwicklung bzw. im Testbetrieb, braucht also nicht unbedingt zu stimmen.

OpenVPN configuration for Linux

Due to the many different Linux distributions availible, it ist not possible for us to provide suitable instructions for every distribution. However, the following instructions should work without problems in most cases.


For a stable connection you should use at least OpenVPN 2.4.0

Ubuntu Linux

With this command you can determine your Ubuntu version:

lsb_release -a

Ubuntu > 17.10

Ubuntu 17.10 and later includes a sufficently recent version of the OpenVPN package.You can install it via the package management with the following commands:

sudo apt-get update
sudo apt-get install openvpn

Then proceed to the "Configuration" section.

Ubuntu 16.04

First configure the package source of the official OpenVPN packages with the following commands:

wget -O - http://build.openvpn.net/debian/openvpn/stable/pubkey.gpg | sudo apt-key add -

sudo sh -c 'echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/swupdate.openvpn.net.list'

Then install the software package openvpn via your package management:

sudo apt-get update
sudo apt-get install openvpn


Download our OpenVPN configuration file with this command:

sudo wget -O /etc/openvpn/RUBvpn_Standard.ovpn https://noc.rub.de/download/openvpn/RUBvpn_Standard.ovpn

You will find the downloaded file in /etc/openvpn/.

Connecting and disconnecting

To start the OpenVPN connection, enter this command in your terminal:

sudo openvpn /etc/openvpn/RUBvpn_Standard.ovpn

You will be asked for LoginID and password. Then the connection is established. Please do not close the terminal window. You can minimize it if it bothers you.

To end the connection, simply press CTRL+C in the terminal or close the window.