How to install Tailscale on LibreELEC?

  • toby2106
    September 25, 2024 at 8:50 AM
    Peterc
    November 25, 2024 at 11:25 AM
  • Installing the Tailscale addon from the LE repo would be easier than all the above suggestions. No need for Docker containers or not-existing flatpak’s.

  • I ran tailscale from static binaries for a long time, but updating the binary was a neglected maintenance task. I learnt a few weeks ago from this thread that there is now a tailscale addon. It seems to be from LibreElec 13 only, so knowing it is almost certainly unsupported I manually installed it on the latest stable release. It doesn't actually work out of the box (probably because it isn't designed for this version of LibreElec), but it is a nicer way to get the latest tailscale binary than I had before. I'm disabling the addon itself and adding to .config/autostart.sh:


    Code
    tailscaled --state /storage/.cache/tailscale/tailscaled.state --socket /run/tailscale/tailscaled.sock &

    Bring tailscale up in the usual way like any other server - no special options (the addon provides a script that turns off netfilter-mode, which does NOT seem to be correct on LibreElec 12). Until LibreElec 13 is released, this might be the easiest way to use tailscale.


    Hope this helps somebody.