Add compat-mode option

Partially resolves #97 in my case, as supplying data-ciphers field and compat-mode 2.3.0 fixes an issue of not being able to connect to old openvpn servers.

Tested only on 2.3.0ish server.

nm-applet overwrites these changes, sadly. nmcli does not.

MR changes

Adds an option to supply a compat-mode parameter on ovpn file import, that will be passed to openvpn on connection.

How to test

The following is required:

  1. OpenVPN server 2.3.0 or older.
  2. Compiled and installed NetworkManager-openvpn plugin


Edited by Ivan Krasnov

Merge request reports