Android app directory · VPN and access

Tailscale managed configuration for Android

These are the managed configuration keys Tailscale documents for its Android client, what each one changes on the device, and how to combine them for common rollouts. Several keys take the values always, never or user-decides, which lets you lock a setting or leave it to the person. Tailscale also documents desktop keys; this page covers the ones that apply on Android.

Package name com.tailscale.ipn
Developer
Tailscale Inc.
Keys on this page
16 of 21 documented
Works on
Fully managed, Work profile
Last checked

Common setups

Common Tailscale setups

Copy a setup into the managed configuration of a policy, then adjust the values. Each one uses only keys explained below.

Silent sign-in for company tablets

Sign the device in with a one-off auth key, name it, keep it connected and skip the introduction screens.

{
  "AuthKey": "tskey-auth-...",
  "Hostname": "warehouse-tablet-07",
  "ForceEnabled": true,
  "OnboardingFlow": "hide"
}

Only work apps use the tunnel

Route two business apps through Tailscale and leave everything else on the normal network, with your name shown in the app.

{
  "IncludedPackageNames": "com.example.erp,com.example.crm",
  "ManagedByOrganizationName": "Example Ltd",
  "ManagedByURL": "https://help.example.com"
}

Fixed exit node

Send all traffic through the exit node you choose and hide the picker so it cannot be changed. Replace the placeholder with that node's device ID from the Machines page of the admin console.

{
  "ExitNodeID": "your-exit-node-id",
  "ExitNodesPicker": "hide",
  "ExitNodeAllowLANAccess": "never"
}

Managed configuration

Tailscale managed configuration keys

Key names and value types come from the vendor’s documentation. The explanations are written by Nomid.

KeyTypeWhat it doesExample
Sign-in and identity
AuthKeyTailscale auth keySigns the device in to the tailnet without any user action. Use one-off keys, because a leaked reusable key lets someone else join the network.tskey-auth-...
LoginURLServer addressPoints the app at a custom coordination server instead of Tailscale's own, for example a self-hosted one.https://login.example.com
TailnetComma-separated tailnet IDsSuggests which tailnet or organization people should register with. Start the value with required: to enforce it.required:example.com
HostnameDevice nameOverrides the name the device reports, so machines show up in the admin console with a name you control.warehouse-tablet-07
Connection and routing
ExitNodeIDExit node ID or auto:anySends all traffic through the exit node with this device ID. With auto:any, Tailscale selects an exit node automatically instead. Find device IDs on the Machines page of the admin console or through the Tailscale API.auto:any
ExitNodeAllowLANAccessChoice: always, never, user-decidesDecides whether the device can still reach printers and other local devices while an exit node is in use.never
IncludedPackageNamesComma-separated package namesSends only the listed apps through Tailscale. Every other app bypasses the tunnel once this is set.com.example.erp,com.example.crm
ExcludedPackageNamesComma-separated package namesKeeps the listed apps outside the tunnel for routing and DNS, which suits apps that break behind a VPN.com.example.streaming
ForceEnabledOn or offKeeps Tailscale connected and removes the disconnect switch. Tailscale marks this key as deprecated, so check its page before relying on it.true
UseTailscaleSubnetsChoice: always, never, user-decidesControls whether the device accepts subnet routes advertised by other nodes, which is how it reaches office networks.always
UseTailscaleDNSSettingsChoice: always, never, user-decidesControls whether the device uses the DNS settings from your tailnet while connected.always
AllowIncomingConnectionsChoice: always, never, user-decidesLets you block incoming connections to the device, the setting Tailscale calls shields up.never
Interface and branding
ManagedByOrganizationNameOrganization nameShows your company name in the app so people know the device is managed.Example Ltd
ManagedByURLSupport page addressSets the web page that opens when someone taps Support in the app.https://help.example.com
ExitNodesPickerChoice: show, hideHides the exit node chooser when you set the exit node yourself and do not want people changing it.hide
OnboardingFlowChoice: show, hideSkips the first-launch introduction screens, useful when the device is already signed in with an auth key.hide

Deploy with Nomid

Roll Tailscale out in three steps

  1. Step 1Add Tailscale to a policy

    Find it on Google Play from the policy’s apps list and choose how it is installed.

  2. Step 2Set its managed configuration

    In the policy, set the app’s managed configuration with the keys and values from this page.

  3. Step 3Assign the policy

    Devices in the policy receive Tailscale and its configuration on their next sync.

Questions

Tailscale on managed Android

What is Tailscale's package name on Android?

com.tailscale.ipn. Use it to find the app when you add it to a policy.

Is it safe to push an auth key through MDM?

Tailscale warns that this carries a real security risk. Use a one-off key, set a short expiry and remove the key from the configuration after devices have enrolled.

What happens to apps that are not in IncludedPackageNames?

Once the list is set, only the listed apps go through the tunnel. All other apps use the normal connection.

Does the configuration work in a work profile?

Yes, the configuration applies to the copy of the app installed in the work profile. Per-app routing then covers only apps in that profile.

Manage Tailscale on your fleet

Add the app to a Nomid policy, set its configuration and choose its permissions.

Choose Your Time

Loading...
Open booking calendar