Tartan NetworksStart free

Docs / Devices

Always on, from boot

For tartan 0.9.36

A computer with the Tartan agent is on your network from boot, before anyone signs in.

For your AI: tartannetworks.com/docs/always-on.md

A computer with the Tartan agent is on your network from boot, before anyone signs in. A phone stays on once you set Android's Always-on VPN.

Computers: nothing to switch on

The agent runs as a system service, not as a user app, so the computer joins your network when it starts.

Windows. The TartanAgent service starts automatically at boot. If it stops, Windows restarts it after 10 seconds, again after 10, then after 30. Check it:

Get-Service TartanAgent

Linux. The tartan-agent unit is enabled at boot, starts once the network is online, and restarts 10 seconds after any exit. Check it:

systemctl status tartan-agent

Phones: turn on Always-on VPN

  1. In the Tartan app, open Settings. Under Always-on, choose Open VPN settings.
  2. In Android's VPN settings, open Tartan and turn on Always-on VPN.
  3. Back in the app, Status says Always-on is set in Android settings.

Under Settings, Battery says whether Android lets Tartan run in the background. If it says Battery optimization may stop Tartan, choose Open battery settings and let it run in the background.

Android allows one Always-on VPN at a time. If another app holds it, the app says so: turn it off for that app, then connect Tartan.

Check it worked

Restart the computer and don't sign in. From another computer:

tartan device show --org acme --device <id> --schema tartan.device.v1 --json

tunnel_up is true and last_seen is after the restart. In the console, the device's Seen column updates the same way.

Next