Skip to content

Tailscale

Kenichi Kamiya edited this page Jan 7, 2025 · 9 revisions

Also See GH-573 and the PR

You should check WARP tunnel before tailscale up

And visit https://tailscale.com/kb/1063/install-nixos to check official instruction

You can also check the status with tailscale status or visiting to https://login.tailscale.com/admin/machines

They doesn't recommend OSS version for macOS, use standalone or AppStore version. (Nevertheless, The macOS setup was not easy...)

Installation

Automated in NixOS. Not in WSL2.

Tailscale requires root operations and systemd entry. So prefer official installer rather than nixpkgs version in Ubuntu.

curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up

SSH

tailscale ssh the_host and ssh the_host.tailscale.example.net mighte be blocked with unix_listener: path ... too long for Unix domain socket. Even if adjusted the controlPath. If then, use IP address for it.

touch ~/.ssh/known_hosts.local
ssh-keyscan the_ip >> ~/.ssh/known_hosts.local
ssh the_ip
Clone this wiki locally