iOS的Tailscale安装配置方法:
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: "<你的服务Ip>:<端口>"
- Enter your credentials and log in. Headscale should now be working on your iOS device
macOS的Tailscale安装配置方法:
Command line
Use Tailscale's login command to add your profile:
tailscale login --login-server <你的服务Ip>:<端口>
GUI
- Option + Click the Tailscale icon in the menu and hover over the Debug menu
- Under "Custom Login Server", select "Add Account..."
- Enter "<你的服务Ip>:<端口>" 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 <你的服务Ip>:<端口>
- for standalone client:
defaults write io.tailscale.ipn.macsys ControlURL <你的服务Ip>:<端口>
Restart Tailscale.app and log in.
Caution
You should always download and inspect the profile before installing it:
- for app store client:
curl <你的服务Ip>:<端口>/apple/macos-app-store
- for standalone client:
curl <你的服务Ip>:<端口>/apple/macos-standalone
tvOS的Tailscale安装配置方法:
GUI
- Install the official Tailscale tvOS client from the App store
- Open Settings (the Apple tvOS settings) > Apps > Tailscale
- Enter "<你的服务Ip>:<端口>" 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