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
en:vpn:linux [2018-07-20 12:25] meiersen:vpn:linux [2022-07-20 11:20] (current) Thomas Thiel
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:
  
 [[en:vpn:profiles|How to obtain OpenVPN profile data]] [[en:vpn:profiles|How to obtain OpenVPN profile data]]
 +
 +Please be advised that this procedure will only be available to you if you have OpenVPN support for Network Manager installed. If you are using Ubuntu, the necessary software packet is called "network-manager-openvpn".
  
 First, open the Network Manager configuration dialog. Normally you can find it in your system settings area of your favorite desktop environment. Add a new profile: First, open the Network Manager configuration dialog. Normally you can find it in your system settings area of your favorite desktop environment. Add a new profile:
Line 24: Line 26:
  
 {{: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.