headscale: macOS configuration
Recent Tailscale versions (1.34.0 and higher)
Tailscale added Fast User Switching in version 1.34 and you can now use
the new login command to connect to one or more headscale (and Tailscale)
servers. The previously used profiles does not have an effect anymore.
Command line
Use Tailscale's login command to add your profile:
tailscale login --login-server {{.URL}}
GUI
-
ALT + Click the Tailscale icon in the menu and hover over the Debug menu
- Under "Custom Login Server", select "Add Account..."
-
Enter "{{.URL}}" of the headscale instance and press "Add Account"
- Follow the login procedure in the browser
Apple configuration profiles (1.32.0 and lower)
This page provides
configuration profiles
for the official Tailscale clients for
The profiles will configure Tailscale.app to use {{.URL}}
as
its control server.
Caution
You should always download and inspect the profile before installing it:
-
for app store client:
curl {{.URL}}/apple/macos-app-store
-
for standalone client:
curl {{.URL}}/apple/macos-standalone
Profiles
macOS
Headscale can be set to the default server by installing a Headscale
configuration profile:
macOS AppStore profile
macOS Standalone profile
-
Download the profile, then open it. When it has been opened, there
should be a notification that a profile can be installed
- Open System Preferences and go to "Profiles"
- Find and install the Headscale profile
- Restart Tailscale.app and log in
Or
Use your terminal to configure the default setting for Tailscale by
issuing:
-
for app store client:
defaults write io.tailscale.ipn.macos ControlURL {{.URL}}
-
for standalone client:
defaults write io.tailscale.ipn.macsys ControlURL {{.URL}}
Restart Tailscale.app and log in.
headscale: iOS configuration
Recent Tailscale versions (1.38.1 and higher)
Tailscale 1.38.1 on
iOS
added a configuration option to allow user to set an "Alternate
Coordination server". This can be used to connect to your headscale
server.
GUI
-
Install the official Tailscale iOS client from the
App store
-
Open Tailscale and make sure you are not logged in to any account
- Open Settings on the iOS device
-
Scroll down to the "third party apps" section, under "Game Center" or
"TV Provider"
-
Find Tailscale and select it
-
If the iOS device was previously logged into Tailscale, switch the
"Reset Keychain" toggle to "on"
- Enter "{{.URL}}" under "Alternate Coordination Server URL"
-
Restart the app by closing it from the iOS app switcher, open the app
and select the regular sign in option (non-SSO). It should open
up to the headscale authentication page.
-
Enter your credentials and log in. Headscale should now be working on
your iOS device