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 <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
tinc mailing list
[email protected]
https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to