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

Mer-tools package for tinc VPN software

asked 2014-01-13 20:32:53 +0200

gcobb gravatar image

updated 2014-01-13 20:43:53 +0200

I would like tinc (VPN software) to be be available as packages to install -- ideally nicely integrated with connman. Presumably mer-tools would be the ideal repository for it.

I will probably end up doing this myself (and will then answer the question) but I thought I would post this to see if anyone else wants to or has already done this or if there is anyone else who needs it.

Note that I am not asking for a GUI -- that is a separate issue, discussed in https://together.jolla.com/question/305/vpn-client/

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2014-04-01 23:37:33 +0200

gcobb gravatar image

updated 2014-04-02 01:14:06 +0200

I have created a package for tinc, although I have not yet looked into integration with connman.

It is currently in my Mer OBS repository (home:gcobb:jolla:user). If anyone wants to use it, you can install it as follows:

ssu ar gcobb-user http://repo.merproject.org/obs/home:/gcobb:/jolla:/user/sailfish_latest_armv7hl/
pkcon refresh
pkcon install tinc

Once you have created the normal /etc/tinc/ directories you can start and stop tinc using (as root):

systemctl start tinc@net.service
systemctl stop tinc@net.service

where net should be replaced with the network name.

You can see the tinc log messages using:

journalctl | fgrep tinc

If you use this, please add a comment to this answer so I know that at least someone else has tried it! I am currently looking into whether I can contribute the package to the chum community repository. I will leave the question open for now while I look into connman and chum.

edit flag offensive delete publish link more


Although I did not try it yet, I probably should. Ate you still maintaining this? How well does it interact with the rest of the phome? Im worried it might prevent certain sleep states, or cause extra network connection attempts...

nomeata ( 2014-12-11 01:37:32 +0200 )edit


Can I just ask if you have tested this on new versions of sailfish because I manage to set it up ok and it appears to start with no errors but I am unable to ping any hosts on the VPN. is there some sort of routing option I need to use ?


veritanuda ( 2018-09-25 17:06:42 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2014-01-13 20:32:53 +0200

Seen: 1,316 times

Last updated: Apr 02 '14