OpenVPN import fails when "route remote_host" is present.
route remote_host 255.255.255.255 net_gateway
is valid in ovpn files and the openvpn
utility accepts them. Network Manager doesn't seem to understand a line like that.
> nmcli connection import type openvpn file some_config.ovpn
Error: failed to import 'some_config.ovpn': configuration error: unsupported 1th argument remote_host to “route” (line 7).
If I comment out the line, then it does get added and I can then successfully connect. However I then cannot seem to connect to anything on that network. For now I am manually using the openvpn utility but would love to have this work in networkmanager as well.
NetworkManager version: 1.22.8-1 from Arch Linux