Android system VPN
Open VPN tunnel → Android to choose which apps use the VPN and to set up automation.
Choose a mode
| Mode | Behaviour |
|---|---|
| All apps | All apps use the VPN. |
| Only selected apps | Only the apps you pick use the VPN. |
| All except selected apps | The apps you pick bypass the VPN. |
The include and exclude lists are saved separately, so switching mode does not lose either list.
Select applications
The picker shows installed apps with icons; selected apps are listed first and you can search by name or package. The installed-app list is used only on your device and is never uploaded. Per-app selection decides which apps enter the tunnel; Smart or Custom Routing then handles their traffic.
Permissions and system controls
Tunnix asks for VPN permission (and local-network permission on newer Android) once when you reach the main screen; declining still lets you use the app and retry from Connect. You can control the VPN from the app, its notification, the Quick Settings tile, app-icon shortcuts and the home-screen widget.
External automation
Start or stop the VPN from Tasker, MacroDroid or Automate with an authenticated broadcast. It is off by default and only supports start and stop.
- Open External automation, turn on Allow external automation and tap Copy parameters.
- Connect once from Tunnix after granting permissions. Automation reuses the last generated configuration.
- Create a broadcast in your automation app with the parameters below.
Broadcast parameters
| Field | Value |
|---|---|
| Target | Broadcast Receiver |
| Package | com.dataz.tunnix |
| Class | com.dataz.tunnix.automation.VpnAutomationReceiver |
| Start action | com.dataz.tunnix.action.START_VPN |
| Stop action | com.dataz.tunnix.action.STOP_VPN |
| Extra | token (String) = your copied token |
Tasker
Add Send Intent, set Target to Broadcast Receiver, fill Action, Package and Class, and set Extra to token:YOUR_TOKEN (no quotes or spaces).
MacroDroid
Add Send Intent, choose Broadcast, fill Action, Package and Class, and add a String extra named token.
Automate
Add a Broadcast send block with the Package and Receiver class, the action as a quoted expression, and Extras {"token": "YOUR_TOKEN"}.
Tokens and failures
- The token belongs to this device and is not included in backups or shared configurations. Keep it private.
- Turning automation off keeps the token; resetting it requires updating every task. Neither stops the current VPN.
- If something is missing, Tunnix shows a notification — tap it to fix the problem. Tunnix never opens itself.