Skip to content

Instantly share code, notes, and snippets.

@tecandrew
Last active August 6, 2024 23:57
Show Gist options
  • Save tecandrew/697b4c3996ac3a5454297d17a3525e5e to your computer and use it in GitHub Desktop.
Save tecandrew/697b4c3996ac3a5454297d17a3525e5e to your computer and use it in GitHub Desktop.

Tailscale for Non-Standard Linux

This is meant for Linux distributions that do not have a "traditional" like environment Linux environment like Ubuntu or Debian, but instead more like "bare metal" or "embedded" Linux like Yocto or Buildroot.

  1. Download Tailscale (other distros) curl -O https://pkgs.tailscale.com/stable/tailscale_x.xx.xx.xx.tar.gz

  2. Extract the tarball tar -xvf tailscale-linux-x.xx.tar.gz

  3. Ensure executable permissions chmod +x tailscale tailscaled

  4. Copy the binaries to the following locations

tailscale -> /usr/bin/tailscale
tailscaled -> /usr/sbin/tailscaled

systemd/tailscaled.defaults -> /etc/default/tailscaled
systemd/tailscaled.service -> /lib/systemd/system/tailscaled.service
  1. Reload systemctl daemon-reload

  2. Enable the service systemctl status tailscaled && systemctl enable tailscaled

  3. Start and enable tailscale systemctl start tailscaled && tailscale up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment