Hi Vil,
Thanks! This is great - much better than having to fight with PPTP or
similar. After installing the tun module (via "TUN.ko installer" app)
and your tinc GUI, and getting the configuration right it worked pretty
well on my Acer Liquid Mt S120.
Just a few comments:
- After stopping tinc, stop button text does not always change back to start
- Buttons look awfully simple and unaligned ;-)
- debug button does not seem to make a difference?
- tinc is looking for /dev/net/tun while my phone only has /dev/tun
(might be device specific? symlink or configuration directive fixes this)
- config file selection shows empty list for /data because /data is
chmod 771 by default, perhaps you can work around this by reading the
directory as root?
- I forgot that I had to use the tinc-up script for IP address
configuration, my bad. You could perhaps create a nice GUI which creates
the tinc-up script, tinc.conf and local node configuration/keys.
Anyway, I can now watch a live TV stream over the VPN via 3G on my
phone. Great!
Ivo
Op 24-9-2012 17:03, Vil Brekin schreef:
Hi Adam,
As for tinc on linux, you'll need a TUN/TAP device on android as well
(my app is just a basic GUI over the standard tinc daemon). I'm not
sure it's available on every ROM. I use CM9/10 on a SGS2, and the
driver is included in the kernel.
Same, you can disable root usage in the application (in the settings),
but it's probably needed to access the TUN/TAP device anyway...
The GUI is minimalistic, and is mainly used to deploy the tincd binary
and launch/monitor it easily.
For the configuration, the easiest solution is to build it from a PC
and copy it to your phone's SD card.
This might not be easy enough for the average android user, however I
guess tinc's user are more in the geek category :)
Anyway, any feedback is welcome to help me improving it.
Rgds,
V
2012/9/24 Adam Del Vecchio <[email protected]>:
Hello,
I've just installed the app but have yet to use it. It seems functional,
however. I will configure and report here later tonight.
Will I need to specify a specific Device/Interface in order for it to work
correctly on the Nexus 7?
Thanks,
Adam
Vil Brekin <[email protected]> wrote:
Hello,
As I was missing an Android port of tinc (thanks for this great
tool!), I built one by myself.
It's simply a cross-compiled version of tinc daemon (with very few
changes), and a (basic) GUI application for Android to deploy and
manage it.
Both my changes to original tinc and the GUI are available on GitHub:
- https://github.com/Vilbrekin/tinc
- https://github.com/Vilbrekin/tinc_gui
The tinc GUI is available on Google Play as well:
https://play.google.com/store/apps/details?id=org.poirsouille.tinc_gui&feature=search_result#?t=W251bGwsMSwyLDEsIm9yZy5wb2lyc291aWxsZS50aW5jX2d1aSJd
My changes to original tinc being minimal (added ifdef for 2 missing
functions on Android NDK, and a new configuration file option), I was
thinking of merging them with upstream. Are you accepting pull
requests?
Rgds,
V
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc