Setting up Tailscale on Raspberry Pi

Tailscale can run on Raspberry Pi boards running Raspbian. Packages are available in both 32-bit and 64-bit variants.

  1. Install the apt-transport-https plugin

    sudo apt-get install apt-transport-https
  2. Add Tailscale’s package signing key and repository

    curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.gpg | sudo apt-key add -
    curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.list | sudo tee /etc/apt/sources.list.d/tailscale.list
  3. Install Tailscale

    sudo apt-get update
    sudo apt-get install tailscale
  4. Authenticate and connect your machine to your Tailscale network

    sudo tailscale up
  5. Visit the admin console and authorize your new endpoint. If you signed in with a @gmail.com address, it is automatically authorized. (Note: You will need to occasionally reauthenticate unless you disable key expiry.)

  6. Obtain your Tailscale IP address

    ip addr show tailscale0
  7. Check out Next Steps for steps on verifying that a single endpoint is working. With multiple endpoints, simple pings are a good way to start.

  8. For fun, setup a webcam using Motion. You can safely run the webserver on port 80 by blocking all inbound access on your firewall to that port and instead connecting to it over HTTP using its Tailscale IP (from above).

If you’d like to try bleeding edge Tailscale code, you can also install from the unstable track. However, as the name suggests, you should expect more bugs and unfinished features on that track.

Last updated