Tinc and android 6

Guus Sliepen guus at tinc-vpn.org
Thu Mar 29 14:26:29 CEST 2018


On Thu, Mar 29, 2018 at 01:19:48PM +0200, Perry Couprie wrote:

> I compiled tinc 1.1pre14 for android 6, then i created the config for tinc.
> 
> When i try to start tinc, it can not connect to /dev/tun
> 
> I have looked for information on android/tinc and /dev/tun.
> 
> The information i found is about system permissions, how can i start tinc on
> android whitout rooting my android tablet ?
> 
> And set extra routing to the tinc interface.

Indeed, direct access to /dev/tun requires root privileges. However,
Android has a VPN API that allows an app to request a tun interface,
and configure it. The filedescriptor for this interface can then be
handed to tincd. Unfortunately, this API is Java-only, so this is not
something that can easily be called from tinc's C codebase.

That said, have a look at this Android app that probably does what you
want: http://tincapp.pacien.org/

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20180329/695f376c/attachment.sig>


More information about the tinc mailing list