headscale: iOS configuration
GUI
- Install the official Tailscale iOS client from the App store
- Open the Tailscale app
- Click the account icon in the top-right corner and select "Log in…".
- Tap the top-right options menu button and select "Use custom coordination server".
- Enter your instance URL: "https://vpn.leviatan.cn"
- Enter your credentials and log in. Headscale should now be working on your iOS device
headscale: macOS configuration
Command line
Use Tailscale's login command to add your profile:
tailscale login --login-server https://vpn.leviatan.cn
GUI
- Option + Click the Tailscale icon in the menu and hover over the Debug menu
- Under "Custom Login Server", select "Add Account..."
- Enter "https://vpn.leviatan.cn" of the headscale instance and press "Add Account"
- Follow the login procedure in the browser
Profiles
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 https://vpn.leviatan.cn
- for standalone client:
defaults write io.tailscale.ipn.macsys ControlURL https://vpn.leviatan.cn
Restart Tailscale.app and log in.
Caution
You should always download and inspect the profile before installing it:
- for app store client:
curl https://vpn.leviatan.cn/apple/macos-app-store
- for standalone client:
curl https://vpn.leviatan.cn/apple/macos-standalone
headscale: tvOS configuration
GUI
- Install the official Tailscale tvOS client from the App store
- Open Settings (the Apple tvOS settings) > Apps > Tailscale
- Enter "https://vpn.leviatan.cn" under "ALTERNATE COORDINATION SERVER URL"
- Return to the tvOS Home screen
- Open Tailscale
- Select "Install VPN configuration"
- Select "Allow"
- Scan the QR code and follow the login procedure
- Headscale should now be working on your tvOS device