route remote_host not supported
I just had the same error as in https://askubuntu.com/questions/999665/cant-import-ovpn-file-key-file-contains-client-which-is-not-a-key-value-pair and despite issues being linked there and closed as fixed for some years, this issue is actually not fixed.
Edit: Issue description below is deprecated, the actual issue is different.
- Import a config file with embedded certificates in gnome-control-center.
The file "test.ovpn" could not be read or does not contain recognized VPN connection information. Error: Key file contains line "client" which is not a key-value pair, group, or comment
What should happen
Or, at least: Display a useful error message, that this is not yet supported or so. The current error message is very confusing, also because it points to the wrong line, e.g.
Maybe just extract the certs to
~/.certs or another place, where they can be read by OpenVPN (and yes, they can't be read everywhere due to possible permission/SELinux problems etc. Maybe you also have to place them into
$ gnome-control-center --version gnome-control-center 3.28.2 $ NetworkManager --version 1.10.12-1.fc28 $ dnf info NetworkManager-openvpn […] Name : NetworkManager-openvpn Epoch : 1 Version : 1.8.4 Release : 1.fc28 Arch : x86_64 Größe : 1.0 M Quelle : NetworkManager-openvpn-1.8.4-1.fc28.src.rpm Paketquelle : @System Aus Paketque : updates Zusammenfass : NetworkManager VPN plugin for OpenVPN URL : http://www.gnome.org/projects/NetworkManager/ Lizenz : GPLv2+ Beschreibung : This package contains software for integrating VPN capabilities : with the OpenVPN server with NetworkManager.
If I've opened this at the wrong place, please point me to the correct one, thanks.