Gemeinsame Systemgruppe IfI/b-it

You are here: aktuelles » en » vpn » linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:vpn:linux [2018-07-20 12:25] meiersen:vpn:linux [2020-06-30 12:52] – external edit 127.0.0.1
Line 1: Line 1:
-====== OpenVPN for Linux (Networkmanager)======+====== OpenVPN via Networkmanager, GUI ======
  
 If you want to use the Linux Networkmanager to connect to our OpenVPN service, you have to download the profile and the certificate files first. You can learn how to do that in the following document: If you want to use the Linux Networkmanager to connect to our OpenVPN service, you have to download the profile and the certificate files first. You can learn how to do that in the following document:
Line 24: Line 24:
  
 {{:de:vpn:linux_nwm5.png?direct&400|}} {{:de:vpn:linux_nwm5.png?direct&400|}}
 +
 +====== OpenVPN via Networkmanager, Console ======
 +
 +If the import function in your network-management applet is missing, you can import the profile by hand over a terminal and this command:
 +
 +<code>
 +$ sudo nmcli connection import type openvpn file /path/to/your.ovpn
 +</code>
 +
 +After that the profile should be available in almost all available NM-Applets. If not, you can utilize a terminal to setup the connection, too:
 +
 +<code>
 +$ nmcli connection up <identifier>
 +</code>
 +
 +(The identifier depends on the profile filename, the import function did output the identifier)
 +
 +====== OpenVPN, manual ======
 +
 +Utilizing the official OpenVPN Client you can setup a VPN Connection manually by calling the executable (with a privileged account of course), using only the profile as the sole parameter:
 +
 +<code>
 +# openvpn /path/to/your.ovpn
 +</code>
 +
 +As long as the executable is running, the connection will be retained. If you press <Ctrl>-C, the connection will be shut down.