Deploy Tailscale with Jamf Pro
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.
-
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.
-
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/nullFor each copy, the output shows the path to the app, followed by its bundle identifier on the next line:
io.tailscale.ipn.macsysidentifies the standalone variant.io.tailscale.ipn.macosidentifies the Mac App Store variant.
Results in a
.Trashfolder disappear when the user empties the Trash. -
Find command-line installations outside the app bundle, such as the Homebrew
tailscaleformula or the open sourcetailscaleddaemon:find /opt/homebrew/bin /usr/local/bin -maxdepth 1 -iname 'tailscale*' -exec ls -l {} + 2>/dev/nullThis 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. -
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/nullhomebrew.mxcl.tailscale.plistbelongs to the Homebrewtailscaleformula. It appears in/Library/LaunchDaemonsfor a system service, or in theLibrary/LaunchAgentsfolder of a user account for a user service.com.tailscale.tailscaled.plistbelongs to an open sourcetailscaleddaemon that someone installed withtailscaled install-system-daemon.
The Homebrew
tailscale-appcask installs the standalone GUI variant, unlike the CLI-onlytailscaleformula. Homebrew previously named this casktailscale. Don't remove the standalone app solely because you installed it through Homebrew. -
Remove the installations that conflict with the variant you plan to deploy:
- To remove the Homebrew formula, run
brew services stop tailscaleand thenbrew uninstall tailscaleas the user who installed it. Homebrew doesn't run as root. If the formula runs as a system service, stop it withsudo brew services stop tailscaleinstead. - 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.
- To remove the Homebrew formula, run
-
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:
- Log in to the Jamf Pro admin console for your organization at
<company-name>.jamfcloud.com. - Select Computers in the sidebar, and then Mac Apps.
- Select New, and then choose Jamf App Catalog as the source for the app.
- Search for Tailscale, and then select the Tailscale app in the search results.
- 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.
- In the Scope tab, select the devices or groups that should receive the Tailscale client.
- 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:
- Log in to the Jamf Pro admin console for your organization at
<company-name>.jamfcloud.com. - Select Computers in the sidebar, and then Mac Apps.
- At the top of the page, change the view from Jamf App Catalog to App Store.
- Select New, choose Mac App Store, and then select Next.
- Enter Tailscale, choose your App Store country or region, and then select Next.
- Select Add for the Tailscale app in the search results.
- 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.
- Select Assign Volume Content, and then choose the location that purchased the Tailscale licenses.
- In the Scope tab, select the devices or groups that should receive the Tailscale client.
- 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
SUAutomaticallyUpdateandSUEnableAutomaticChecks. Users might still need to confirm an update even when you setSUAutomaticallyUpdatetotrue. 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 theAlwaysOn.Enabledpolicy. 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:
-
Log in to the Jamf Pro admin console for your organization at
<company-name>.jamfcloud.com. -
Select Computers in the sidebar, and then Configuration Profiles.
-
Select New to create a new configuration profile.
-
In the General payload, enter a descriptive name for the profile, such as Tailscale System Policies.
-
Select the Application & Custom Settings payload, select External Applications, and then select Add.
-
Choose Custom Schema from the source menu.
-
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.
- For the standalone variant, including installations from the Jamf App Catalog, enter
-
Download the latest Tailscale JSON schema for your variant from the ProfileManifestsMirror project, which maintains Jamf-compatible versions of the Tailscale profile manifest:
- For the standalone variant, download
io.tailscale.ipn.macsys.json. - For the Mac App Store variant, download
io.tailscale.ipn.macos.json.
- For the standalone variant, download
-
Select Add Schema, paste the contents of the schema file into the Custom Schema field, and then select Save.
-
In the form that Jamf Pro displays, enter values for the policies you want to set.
-
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.
-
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
AlwaysOnbehavior. 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.