Created Tailscaled on macOS (markdown)
parent
cac91a753e
commit
26a8d1be8f
|
@ -0,0 +1,59 @@
|
|||
# tailscaled on macOS
|
||||
|
||||
There are multiple ways to use Tailscale on macOS:
|
||||
|
||||
* The sandboxed GUI from the App Store: https://apps.apple.com/us/app/tailscale/id1475387142?mt=12
|
||||
* Standalone GUI DMG (in development, not yet available)
|
||||
* Using the open source `tailscaled` and `tailscale` CLI tools.
|
||||
|
||||
This page is about how to do the latter.
|
||||
|
||||
# Requirements
|
||||
|
||||
## Install Go
|
||||
|
||||
Install Go 1.15+ (Intel Macs) or Go 1.16+ (M1/Apple Silicon ARM macs), from https://golang.org/dl/ or HomeBrew, etc.
|
||||
|
||||
We recommend Go 1.16.
|
||||
|
||||
## Compile Tailscale
|
||||
|
||||
With Go 1.16, it's as easy as:
|
||||
```
|
||||
$ go install tailscale.com/cmd/tailscale{,d}@main
|
||||
```
|
||||
|
||||
### Run the `tailscaled` (daemon)
|
||||
|
||||
```
|
||||
$ sudo tailscaled
|
||||
```
|
||||
|
||||
Or, to run it in the background under launchd so it starts at system boot:
|
||||
|
||||
```
|
||||
$ sudo tailscaled install-system-daemon
|
||||
```
|
||||
|
||||
(to stop/uninstall `sudo tailscaled uninstall-system-daemon`)
|
||||
|
||||
### Use the `tailscale` CLI tool
|
||||
|
||||
See https://tailscale.com/kb/1080/cli (but ignore the `/Applications/Tailscale.app/Contents/MacOS/Tailscale` part; that's the path to the GUI's CLI)
|
||||
|
||||
```
|
||||
$ tailscale up #
|
||||
$ tailscale status
|
||||
````
|
||||
|
||||
Enjoy.
|
||||
|
||||
Use https://forum.tailscale.com/ for support.
|
||||
|
||||
## Comparison to GUI version
|
||||
|
||||
Compared to the GUI version of Tailscale, running `tailscaled` instead has the following differences:
|
||||
|
||||
* MagicDNS works, but you need to set 100.100.100.100 as your DNS server yourself. It doesn't yet change your DNS config.
|
||||
* `tailscaled` can run at system boot before any user has logged in (e.g. letting you VNC to your computer after a power outage)
|
||||
* is fully open source (Tailscale GUI parts aren't open source on non-free operating systems)
|
Loading…
Reference in New Issue