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

Mer-tools package for tinc VPN software

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

gcobb gravatar image

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

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
2

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

gcobb gravatar image

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

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

Comments

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 +0300 )edit

Hi,

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 ?

Thanks.

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

Question tools

Follow
4 followers

Stats

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

Seen: 1,318 times

Last updated: Apr 02 '14