Add the Tailscale package
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/lunar.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/lunar.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
Update and install Tailscale
sudo apt update && sudo apt upgrade sudo apt install tailscale sudo tailscale up
You’ll be given a link to visit to authenticate the device.
You can check the Tailscale IP address with
tailscale ip -4