We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-12-22 04:52:24 +0200

All connections fail once OpenVPN tunnel is up - Why?

On Sailfish 2.1.0.10 (Nexus 5) I was able to successfully use OpenVPN.

Now, on Sailfish X 2.1.3.7, the fields to fill are quite different. However, I copied over the settings from the Nexus to the fields that appear to correspond.

I am able to establish the tunnel, but whenever I do, no connection works - not even to one to the VPN network.

Where could the issue lie - how should I best debug?

Is it a general bug (anybody successfully using OpenVPN?) or rather a configuration error?

All connections fail once OpenVPN tunnel is up - Why?

On Sailfish 2.1.0.10 (Nexus 5) I was able to successfully use OpenVPN.

Now, on Sailfish X 2.1.3.7, the fields to fill are quite different. However, I copied over the settings from the Nexus to the fields that appear to correspond.

I am able to establish the tunnel, but whenever I do, no connection works - not even to one to the VPN network.

Where could the issue lie - how should I best debug?

Is it a general bug (anybody successfully using OpenVPN?) or rather a configuration error?


UPDATE

I tried from the command line. openvpn conf.ovpn complains:

ERROR: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)

Since the vpn group has rw access to the device, I added nemo to that group, restarted the device and tried again. There was a different error (I don't remember exactly right now).

Only when I run the command as root, everything connects just fine. But that's not how it's ought to work, right?

I'd rather be able to do it via the GUI via "Settings" and have the system take care of connecting upon boot and such. Ideas welcome.