Docs / Devices
Android
For tartan 0.9.36
Put an Android phone on your network with the Tartan app: scan a QR code, and the phone joins.
tartannetworks.com/docs/android.mdPut an Android phone on your network with the Tartan app: scan a QR code, and the phone joins.
The app runs on Android 10 and later. It keeps the phone's own key in Android's keystore and connects through Android's VPN service.
1. Make a join code
In the console, open Devices and choose Add a device. Pick One device, the Zone and any Tags, then
Create code. The Your code is ready card shows a QR code and the join link. With the CLI, link in the answer
is the same link:
tartan code create --org acme --kind device --json
Joining by QR code or link needs Join by link or QR on for the organization: an Owner turns it on with
tartan org set --org acme --key discoverable --value true, and their passkey approves it.
2. Join from the phone
- Install Tartan from Google Play and open it.
- Read the privacy notice and choose Accept.
- Choose Scan QR code and scan the card. Or paste the join link under Join link and choose Continue.
- The app shows Join with your organization's name. Check it, give the phone a name under This phone's name, and choose Join.
- Android asks to let Tartan set up a VPN connection. Allow it.
The phone joins with the code's zone and tags and gets its own address on your network. Status shows it, with the certificate's end date and the last check-in.
3. Keep it on
Open Settings and, under Always-on, choose Open VPN settings. Turn on Always-on VPN for Tartan. Then the phone connects when it starts: Always on, from boot.
More than one network
Under Networks, choose Join another network and join it the same way. One network is connected at a time: switching to another disconnects the first.
Take the phone off
On the phone: Networks, your organization, Leave this network, then Leave. To come back, the phone needs a new join code.
From your side, revoke it like any device: Remove or revoke a device.
Check it worked
tartan device list --org acme --schema tartan.device.v1 --json
The phone shows with status active and tunnel_up true while it is connected.