Wiki Table of Contents



–NetworkManager won’t reconnect without rebooting computer

Depending on which VPN client you use (OpenVPN handles this correctly), you may experience this problem. This may be solved by disabling the firewall, since not all VPN clients are able to negotiate it.

–NetworkManager config window disappears

Here is a workaround that works for at least one VPN system and may work for others as well. This bug is supposedly fixed starting with v. 9.10.0.

  • Right-click the Network Manager icon in the Notification Area > Edit connections.
  • Click the Add button, then use the pull-down menu to select OpenVPN and click Create
  •  In the VPN tab give it a connection name (eg Canada#2 udp).
  • In the gateway box you need to put in the ip address. You can get that by opening the *.ovpn file you need for the particular server and get it there. 
  • You need to then click on the Advanced button > Security tab, and change Cipher from “default” to AES-256-CBC in the dropdown box.
  •  Also at some point you will be prompted for a default keyring. You can choose not to enter one, but it will warn your password is not encrypted. If you want set up a password, make sure you know what it is as you will be prompted to supply it each time you connect if you set one up.
  • Now to use the VPN, left click the Network Manager applet in the system tray and click VPN Connections and to the right you should see the one you created. The icon in the applet will show spinning while it tries to connect. On top right of screen you’ll get either a connected message or an error. If it connects the icon in the system tray will now have a small lock in the bottom right when you are using the VPN. Also if you hold your mouse over the icon, you should see something like: ethernet network connection ‘Wired Connection 1’ active vpn connection ‘ca2 udp’ active

–VPN Clients

  • Many VPN clients require systemd. MX Linux defaults to sysvinit. In order to install and use these clients you will have to boot to systemd. Under “Advanced Options” in the grub boot menu is an option to boot to systemd. By doing so you will be able to install and use the VPN client.
  • In some cases, but this is an exception, there may be an older version that will run under sysvinit.  For example the Private Internet Access client has a legacy version, v82 that will run under sysvinit.


v. 20160318

5 thoughts on “VPN”

  1. Пытаюсь на мх линукс настроить постоянное подключение к впн. Помогите пожалуйста! Уже второй день гуглю.


Leave a Comment

MX Linux