maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   VPN in Sailfishos 2.1 (https://talk.maemo.org/showthread.php?t=98962)

Feathers McGraw 2017-02-21 20:06

VPN in Sailfishos 2.1
 
I've only just got around to trying the new VPN support in SailfishOS 2.1. I know it's supposed to be beta quality, but I can't import an .ovpn file without it crashing.

Wondering if anyone has had any luck?

I don't use any of the other types of VPN, but I'd be interested to know if anyone else has tried them.

This is not a support request btw, I just think VPN support is an important feature and it's worth discussing it.

deprecated 2017-02-21 23:13

Re: VPN in Sailfishos 2.1
 
I haven't been able to test 2.1 yet, but I had the same issue with importing .ovpn files on SecureFishNet using PrivateInternetAccess default configs. They finally worked when importing the "hardened" configs. I didn't check into it much, but I'll do that this evening.

matemana 2017-02-22 06:20

Re: VPN in Sailfishos 2.1
 
I used to use openvpn with securefishnet. it worked pretty good. i tried upgrading to 2.1 on my nexus 4 but it did not work. so i am stuck with 2.0.5.6 version of SFOS.

eson 2017-02-22 07:18

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by Feathers McGraw (Post 1523854)
I've only just got around to trying the new VPN support in SailfishOS 2.1. I know it's supposed to be beta quality, but I can't import an .ovpn file without it crashing.

Wondering if anyone has had any luck?

Seems that there's a bug with the .ovpn import feature, but it works fine when manually configured. I've been running it since day one, with no problem at all. So, skip the import feature and try again. :)

cy8aer 2017-02-22 07:22

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by Feathers McGraw (Post 1523854)
I've only just got around to trying the new VPN support in SailfishOS 2.1. I know it's supposed to be beta quality, but I can't import an .ovpn file without it crashing.

Wondering if anyone has had any luck?

I don't use any of the other types of VPN, but I'd be interested to know if anyone else has tried them.

This is not a support request btw, I just think VPN support is an important feature and it's worth discussing it.

You need to setup without including the .ovpn file. In the settings you are then able to set the .ovpn file again. And then: it works though ignoring parameters (like v6 stuff).

More about this (for self-promotion):

https://together.jolla.com/question/...h-the-new-vpn/

https://together.jolla.com/question/...ues-long-post/

Fellfrosch 2017-02-22 07:48

Re: VPN in Sailfishos 2.1
 
Well, I can't connect to my Fritzbox via vpnc with the new GUI. Anyone got success with that?

Feathers McGraw 2017-02-22 09:10

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by cy8aer (Post 1523881)
More about this (for self-promotion):

https://together.jolla.com/question/...ues-long-post/

Thanks, I read that post of yours before and found it really useful.

pasko 2017-02-22 15:22

Re: VPN in Sailfishos 2.1
 
Hi.

I'm testing it with my home LAN openvpn server and it connects OK, but produces lots of warning log messages:

@eson: Can you check the logs (at least locally with journalctl) to confirm there are no underlying issues?

Thank you.
Regars.

eson 2017-02-22 17:23

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by pasko (Post 1523897)
@eson: Can you check the logs (at least locally with journalctl) to confirm there are no underlying issues?

Well, I can't find any error messages related to vpn in my log but then again, I'm not a log guru so if you could be more specific, I will check again.

pasko 2017-02-23 18:10

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by eson (Post 1523899)
Well, I can't find any error messages related to vpn in my log but then again, I'm not a log guru so if you could be more specific, I will check again.

Hi.

Sorry for this late response.

Here's an extract from the log I get in the phone:

Code:

Feb 23 19:02:52 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:54 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:58 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:03:00 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:03:02 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)

To see it I used the command:
Code:

journalctl -l -f
Executed as root, and then immediately I started the VPN client.

I suspect there are some incompatibilities between my server configuration and Jolla's VPN, which is based in connman and is not very flexible
Regards.


All times are GMT. The time now is 11:28.

vBulletin® Version 3.8.8