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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365

Title:
  unable to import config with inlined ca, cert, key or tls-auth

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-openvpn/+bug/606365/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to