Setting up Tailscale on Ubuntu 21.04 (hirsute)
Packages are available for x86 and ARM CPUs, in both 32-bit and 64-bit variants.
-
Add Tailscale’s package signing key and repository
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/hirsute.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/hirsute.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
-
Install Tailscale
sudo apt-get update sudo apt-get install tailscale
-
Authenticate and connect your machine to your Tailscale network
sudo tailscale up
-
You’re connected! You can find your Tailscale IPv4 address by running:
tailscale ip -4
If the device you added is a server or remotely-accessed device, you may want to consider disabling key expiry to prevent the need to periodically re-authenticate.
To try upcoming Tailscale features, you can also install Tailscale from the unstable track. However, as the name suggests, you should expect more bugs and unfinished features on that track.