Zerotierone: Integrate Android app with automation frameworks

Created on 2 May 2020  路  2Comments  路  Source: zerotier/ZeroTierOne

Is your feature request related to a problem? Please describe.

On Android apps that work as VPN providers usually expose intents that allow apps like Tasker, Automate, Intent and many others to bring up the tunnel, turn it off or even add other networks without having to use any GUI hacks or integrating the VPN provider app in unnatural ways.

Describe the solution you'd like

As I mentioned, this is usually achieved by declaring intent filters and a permission for applications that want to use them them. WireGuard's implementation does not excede 50 lines of code and allows other apps to bring a named tunnel up and down. As an extra given how simple it's to add new networks, it'd be nice if the zt implementation could join the network in case the device is not a member of it.

With this, the apps mentioned and many more will be able to interact with the zt app, as long as the user grants them permission to do so.

In case the devs want to go the extra mile, some apps like VPN Client Pro or OpenVpn Tasker Plugin provide "plugins" for Tasker to allow scripts to check _if_ or _when_ the some state changes (for example, if the tunnel is or goes down), I'm not so familiar with how such a plugin could be implemented in the code, but it'd be nice to have that for sure.

Describe alternatives you've considered

  • I've tried to use GUI hacks to achieve this but the result is very unreliable and inconvenient.

Links:

Android backlog suggestion

Most helpful comment

Just to add some User Stories to support this suggestion for development and testing:

  • As an end user, I want to connect to Zero Tier in my Android phone only when I'm not connected to my home/work office physical network in order to securely connect to my network through ZT only when I don't have direct lan connection.
  • As an end user, I want to connect to Zero Tier when I'm on cellular network only to keep my phone connected to my ZT network when I'm roaming through different locations.

All 2 comments

Just to add some User Stories to support this suggestion for development and testing:

  • As an end user, I want to connect to Zero Tier in my Android phone only when I'm not connected to my home/work office physical network in order to securely connect to my network through ZT only when I don't have direct lan connection.
  • As an end user, I want to connect to Zero Tier when I'm on cellular network only to keep my phone connected to my ZT network when I'm roaming through different locations.

That's interesting. Or for example enable zt connection once an app is opened 馃槉

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kblackcn picture kblackcn  路  3Comments

gdamore picture gdamore  路  5Comments

MaskRay picture MaskRay  路  4Comments

leviacn picture leviacn  路  3Comments

kulheim picture kulheim  路  5Comments