Get started
Login
© 2024

Setting up Tailscale on Ubuntu 23.04 (lunar)

Packages are available for x86 and ARM CPUs, in both 32-bit and 64-bit variants.

  1. Add Tailscale's package signing key and repository:

    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
    
  2. Install Tailscale:

    sudo apt-get update
    sudo apt-get install tailscale
    
  3. Connect your machine to your Tailscale network and authenticate in your browser:

    sudo tailscale up
    
  4. 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.

Last updated Jun 18, 2024