Comment 95 for bug 606365

Revision history for this message
Feraali Sanger (amp-gold) wrote :

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.