Setting up Tailscale on Ubuntu (.deb)

Tailscale can run on 64-bit Ubuntu Linux systems. A 32-bit version is also available on request.

  1. Download the latest .deb image.

  2. Install with sudo dpkg -i tailscale-relay_<version>_amd64.deb

  3. Generate a config file (and authenticate):

    1. sudo tailscale-login
    2. In any browser, open the URL printed to the console.
    3. Upon successful authentication you will see the Tailscale client exit. Note that it has written a configuration file to /var/lib/tailscale/relay.conf.
  4. Use systemctl to install and start the service:

    1. sudo systemctl enable tailscale-relay
    2. sudo systemctl start tailscale-relay
  5. At this point, ps should show the Tailscale client running. For example:

    8292 ? Ssl  116:13 /usr/sbin/relaynode --config=/var/lib/tailscale/relay.conf --tun=wg0 --port=41641 --acl-file=/etc/tailscale/acl.json
    

  6. Visit the admin console and authorize your new endpoint.

    • Note that @gmail.com addresses are automatically authorized.
    • You will need to occasionally reauthenticate unless you disable key expiry.
  7. Obtain your Tailscale IP address using ifconfig wg0.

  8. Check out Next Steps for steps on verifying that even a single endpoint is working. With multiple endpoints, simple pings are a good way to start.

Congratulations! You’ve added your workstation to your Tailscale network.

Last updated