I was able to solve my problems on Ubuntu Mate 18.04 by using the command line (rather than the network manager gui) to import the .ovpn as follows:
User@Node-99:~/Downloads$ sudo nmcli connection import type openvpn file Miami.ovpn Error: failed to import 'Miami.ovpn': configuration error: invalid 1th argument to “mssfix” where number expected (line 6). What is good about the command line is that it is more verbose and will help you find which line in your .ovpn file is causing the error. In my case I used a text editor to open the file Miami.ovpn and I commented out the offending line (It was line 6) So I placed a # in front of the line and a space. After doing that: User@Node-99:~/Downloads$ sudo nmcli connection import type openvpn file Miami.ovpn Connection 'Miami' (cb4d9379-9f35-4b03-b53d-3af05781e5aa) successfully added. Problem solved. VPN able to connect now and it shows up as a choice inside of the Network manager. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager-openvpn in Ubuntu. https://bugs.launchpad.net/bugs/606365 Title: unable to import config with inlined ca, cert, key or tls-auth Status in NetworkManager-OpenVPN: Fix Released Status in plasma-nm: New Status in network-manager-openvpn package in Ubuntu: Fix Released Status in plasma-nm package in Ubuntu: Fix Released Bug description: Binary package hint: network-manager-openvpn-gnome So a client of mine runs an OpenVPN setup. It exported a client.ovpn file but it fails to completely import this file using the network- manager (gnome) on Ubuntu 10.04. When I import the file, it gives me the name ("client") and gateway ("vpn.example.org") on the initial screen. No other fields are populated even though the client.ovpn file also includes a user certificate, server certifikate and a private key. When I go to advanced, some (most) of the settings obviously seem to import correct, others not at all. E.g. none of the TLS settings (key and key direction) are imported. From what I understand I should be able to use this without any additional settings. The following software is installed through aptitude: * openvpn (2.1.0) * openvpn-blacklist * network-manager-openvpn * network-manager-openvpn-gnome To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager-openvpn/+bug/606365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp