OPNsense Forum

English Forums => General Discussion => Topic started by: Tripple_Delta on August 17, 2017, 11:26:41 pm

Title: OpenVPN
Post by: Tripple_Delta on August 17, 2017, 11:26:41 pm
Hi,

I'm trying to figger out who is causing problems with my OpenVPN file.
On all my IOS devices I can connect to my OPNSense router with OpenVPN.
However, when I try to connect with my Mint Linux laptop through the network-manager I get this error:
The file 'VPN.ovpn' could not be read or does not contain recognized VPN connection information
Error: unknown error.

When I use this file in terminal it works like a charm.
$sudo openvpn VPN.ovpn

Google was not my friend. Looking for a solution for months now, terminal is the only way to connect.

Any ideas?
Title: Re: OpenVPN
Post by: Wysverson on August 19, 2017, 08:21:50 am
Not sure if this is related at all, but I'll keep an eye on the thread. My iOS devices can't connect to the OPNSense router as well.
Title: Re: OpenVPN
Post by: bartjsmit on August 19, 2017, 09:29:17 am
Is the VPN.ovpn file self-contained? I.e. does it have the certificates included or does it reference certificates in separate files? If the latter; check the permissions on the certificate files.

As I've mentioned on this forum before, the guide I've followed with consistent success on the few occasions I configured VPN's is here: https://www.kirkg.us/posts/building-an-openvpn-server-with-opnsense/

Bart...
Title: Re: OpenVPN
Post by: Tripple_Delta on August 19, 2017, 01:42:51 pm
I tried both but it only works in terminal, not with the network-manager GUI.