Deploy Tailscale with Jamf Pro

Last validated:
This integration is available for the Standard, Premium, and Enterprise plans.

You can use the Jamf Pro mobile device management (MDM) solution to deploy the Tailscale client across your organization. Jamf Pro lets you distribute and install the Tailscale client automatically on your fleet of devices. You can then configure system policies and use Jamf Pro to deploy them across the devices in your organization. Jamf Pro supports Tailscale system policies on macOS and iOS.

This topic covers macOS. iOS has a single Tailscale variant of the client, so the variant choice and cleanup steps in this topic don't apply to iOS devices. If managed iOS devices already have an unmanaged copy of the Tailscale client from the App Store, enable Make app managed if currently installed as unmanaged in the Tailscale app settings in Jamf Pro to convert it to a managed installation. To configure system policies on iOS using Managed App Configuration (AppConfig), refer to Deploy Tailscale on iOS/tvOS using MDM.

If you need help deploying Tailscale using Jamf Pro, or would like to suggest any feature enhancements, contact Tailscale Support or Tailscale Sales.

Distribute Tailscale using Jamf Pro

You can use Jamf Pro to distribute the standalone or Mac App Store variant of the Tailscale client for macOS. We recommend the standalone variant. Use the Mac App Store variant only if your environment requires the Mac App Store for installation and updates. Each variant reads system policies from its own preference domain, so choose one variant and follow its steps throughout this topic. For a comparison of the variants, refer to Three ways to run Tailscale on macOS.

Check for existing installations

If your devices don't have the Tailscale client installed, skip to Standalone variant.

Installing a different variant over an existing installation can prevent the Tailscale client from starting or cause repeated VPN configuration prompts. Before you deploy, check target devices for existing installations and remove any that conflict with the variant you plan to deploy.

You can run the commands in this section in Terminal or as a Jamf Pro script. To search protected folders such as Desktop, Documents, and Downloads, the commands need Full Disk Access. Without it, they skip those folders without showing an error. For Terminal, refer to Full Disk Access on Mac. For Jamf Pro scripts, refer to Privacy Preferences Policy Control in Jamf Pro.

  1. Review existing app assignments and deployment policies in Jamf Pro. If you're changing variants, update any assignments or enforcement policies that would reinstall the previous variant.

  2. Find every copy of the Tailscale app and identify its variant. Both GUI variants use the name Tailscale.app, so check the bundle identifier instead of the app name:

    find /Applications /Users -maxdepth 4 -iname 'tailscale*.app' -prune -print -exec defaults read {}/Contents/Info CFBundleIdentifier \; 2>/dev/null
    

    For each copy, the output shows the path to the app, followed by its bundle identifier on the next line:

    • io.tailscale.ipn.macsys identifies the standalone variant.
    • io.tailscale.ipn.macos identifies the Mac App Store variant.

    Results in a .Trash folder disappear when the user empties the Trash.

  3. Find command-line installations outside the app bundle, such as the Homebrew tailscale formula or the open source tailscaled daemon:

    find /opt/homebrew/bin /usr/local/bin -maxdepth 1 -iname 'tailscale*' -exec ls -l {} + 2>/dev/null
    

    This command checks the Homebrew locations for both Apple silicon and Intel Macs. If a result points to a file inside Tailscale.app, it belongs to the CLI integration of a GUI variant, not a separate installation.

  4. Find background services that other installations left behind:

    find /Library/LaunchDaemons /Library/LaunchAgents /Users -maxdepth 4 \( -path '*/LaunchDaemons/*' -o -path '*/LaunchAgents/*' \) -iname '*tailscale*' 2>/dev/null
    
    • homebrew.mxcl.tailscale.plist belongs to the Homebrew tailscale formula. It appears in /Library/LaunchDaemons for a system service, or in the Library/LaunchAgents folder of a user account for a user service.
    • com.tailscale.tailscaled.plist belongs to an open source tailscaled daemon that someone installed with tailscaled install-system-daemon.

    The Homebrew tailscale-app cask installs the standalone GUI variant, unlike the CLI-only tailscale formula. Homebrew previously named this cask tailscale. Don't remove the standalone app solely because you installed it through Homebrew.

  5. Remove the installations that conflict with the variant you plan to deploy:

    • To remove the Homebrew formula, run brew services stop tailscale and then brew uninstall tailscale as the user who installed it. Homebrew doesn't run as root. If the formula runs as a system service, stop it with sudo brew services stop tailscale instead.
    • To remove the open source daemon, run sudo /usr/local/bin/tailscaled uninstall-system-daemon.
    • To switch GUI variants, remove the existing app, empty the Trash, and restart the Mac before you install the new variant.
  6. Verify that cleanup completed. Run the commands in the previous steps again and confirm that only the variant you plan to deploy remains.

Also note the following:

  • If System Settings > VPN still lists a configuration from the variant you removed, remove only that configuration. Keep the configuration for the variant you plan to use and any unrelated VPN configurations. If conflicting components remain, or you can't identify which installation they belong to, contact Tailscale Support before you install another variant.
  • If the device already runs only the variant you plan to deploy, don't uninstall it solely to redeploy or update it.
  • For upgrades to an existing standalone installation, follow the upgrade guidance. Avoid cleanup scripts that delete all Tailscale data, keychain entries, or components, because they can remove data that the installation you want to keep depends on.
  • Changing variants interrupts the existing Tailscale connection, might require users to sign in again, and might not preserve the existing device registration. Test the migration on a small group of devices before you deploy it across your fleet.

Standalone variant

Before you deploy the standalone variant of the Tailscale client, configure Jamf Pro to approve the Tailscale system extension automatically.

To distribute the standalone variant of the Tailscale client using the Jamf App Catalog:

  1. Log in to the Jamf Pro admin console for your organization at <company-name>.jamfcloud.com.
  2. Select Computers in the sidebar, and then Mac Apps.
  3. Select New, and then choose Jamf App Catalog as the source for the app.
  4. Search for Tailscale, and then select the Tailscale app in the search results.
  5. Configure the distribution settings for your deployment. Choose automatic installation to install the Tailscale client without user action, or Self Service to let users start the installation.
  6. In the Scope tab, select the devices or groups that should receive the Tailscale client.
  7. Save the deployment.

Alternatively, you can download the standalone .pkg Tailscale client installer, upload it to Jamf Pro as a package, and deploy it with a Jamf Pro policy.

When you deploy system policies to devices that run the standalone variant, including installations from the Jamf App Catalog, use the io.tailscale.ipn.macsys preference domain.

Mac App Store variant

To distribute the Mac App Store variant of the Tailscale client:

  1. Log in to the Jamf Pro admin console for your organization at <company-name>.jamfcloud.com.
  2. Select Computers in the sidebar, and then Mac Apps.
  3. At the top of the page, change the view from Jamf App Catalog to App Store.
  4. Select New, choose Mac App Store, and then select Next.
  5. Enter Tailscale, choose your App Store country or region, and then select Next.
  6. Select Add for the Tailscale app in the search results.
  7. Configure the distribution settings for your deployment. Choose automatic installation to install the Tailscale client without user action, or Self Service to let users start the installation.
  8. Select Assign Volume Content, and then choose the location that purchased the Tailscale licenses.
  9. In the Scope tab, select the devices or groups that should receive the Tailscale client.
  10. Save the deployment.

When you deploy system policies to devices that run the Mac App Store variant, use the io.tailscale.ipn.macos preference domain.

Complete the installation

If you deploy a VPN configuration profile, wait until macOS finishes installing and registering the app before you deploy that profile. If Jamf Pro delivers the VPN configuration profile too early, the network extension might fail to start. Tailscale recommends restarting the Mac after deployment. If you can't restart the Mac, such as with a Self Service installation, refer to MDM initial deployment for the required installation order and a script that clears the LaunchServices cache.

Manage updates

How you manage updates depends on the Tailscale client variant you deploy.

  • Standalone variant: The Tailscale client checks for and installs updates using the update settings you configure with the auto-update system policies, such as SUAutomaticallyUpdate and SUEnableAutomaticChecks. Users might still need to confirm an update even when you set SUAutomaticallyUpdate to true. If you deploy updates yourself through Jamf Pro instead, the upgrade must stop the Tailscale client before it installs the new version. This matters most if you configure the AlwaysOn.Enabled policy. For the required pre-install and post-install commands, refer to MDM-based upgrades.
  • Mac App Store variant: Tailscale update system policies don't apply to this variant. macOS updates the app through the Mac App Store only if automatic app updates are on, and they might not be on by default. To keep devices current, configure Jamf Pro to force app updates for the Tailscale client, or use a configuration profile to turn on automatic App Store updates.

Deploy system policies using Jamf Pro

Start by reading the system policies topic to identify configuration options suitable for your organization. After you decide which policies to deploy to your fleet, follow these steps to define them in Jamf Pro:

  1. Log in to the Jamf Pro admin console for your organization at <company-name>.jamfcloud.com.

  2. Select Computers in the sidebar, and then Configuration Profiles.

  3. Select New to create a new configuration profile.

  4. In the General payload, enter a descriptive name for the profile, such as Tailscale System Policies.

  5. Select the Application & Custom Settings payload, select External Applications, and then select Add.

  6. Choose Custom Schema from the source menu.

  7. Enter the preference domain that matches the Tailscale variant you deploy:

    • For the standalone variant, including installations from the Jamf App Catalog, enter io.tailscale.ipn.macsys.
    • For the Mac App Store variant, enter io.tailscale.ipn.macos.
  8. Download the latest Tailscale JSON schema for your variant from the ProfileManifestsMirror project, which maintains Jamf-compatible versions of the Tailscale profile manifest:

  9. Select Add Schema, paste the contents of the schema file into the Custom Schema field, and then select Save.

  10. In the form that Jamf Pro displays, enter values for the policies you want to set.

  11. In the Scope tab, select the devices that should receive the policies. To deploy the policies to all Macs in your organization, select All Computers as Target Computers.

  12. Select Save to save the configuration profile and begin deploying the policies.

Also note the following:

  • Managed VPN On Demand rules can interfere with Tailscale AlwaysOn behavior. Refer to Deploy a VPN On Demand configuration using MDM before you configure these rules.
  • A system policy profile for one variant has no effect on the other. If you change variants, update the preference domain, the bundle identifier in any notifications payload, and the VPN configuration for the new variant.
  • For complete configuration profile examples, refer to Deploy Tailscale on macOS using MDM.
  • Tailscale v1.78 and later applies system policy updates automatically. Tailscale v1.76 and earlier requires a client restart for policy changes to take effect.

Verify deployed system policies

After Jamf Pro delivers the configuration profile, inspect the managed preferences file on a target device. Use the command for the installed variant.

For the standalone variant:

plutil -p "/Library/Managed Preferences/io.tailscale.ipn.macsys.plist"

For the Mac App Store variant:

plutil -p "/Library/Managed Preferences/io.tailscale.ipn.macos.plist"

These paths apply to profiles scoped to computers. If you scope the profile to users, macOS stores the file in:

 /Library/Managed Preferences/<username>/<preference-domain>.plist

These files show the managed preferences that Jamf Pro delivered for the corresponding variant and scope, including policies that affect only the GUI. Compare the values with the policies you configured in Jamf Pro.

On Tailscale v1.78 or later, you can also inspect the policies forwarded to the Tailscale backend and any policy errors that the backend reports:

tailscale syspolicy list

If the device doesn't have the Tailscale CLI integration installed, use the full path instead:

/Applications/Tailscale.app/Contents/MacOS/Tailscale syspolicy list

This command doesn't list every GUI-only policy. A policy missing from its output doesn't necessarily mean Jamf Pro failed to deliver it. Use the managed preferences file to verify the full configuration.

Jamf Pro controls when it delivers configuration changes to devices. Running tailscale syspolicy reload doesn't trigger an MDM synchronization. For more information, refer to How to apply system policies.