Minimal Tailscale build/update script for GL.iNet (compile your own binary)

Hi all,

I put together a small script to build a minimal Tailscale binary from source (single file: daemon + CLI) and optionally deploy it to a GL.iNet router.

This is not meant to replace existing solutions, there are already great options out there that are easier and well maintained. This is more for people who prefer:

  • building from source

  • choosing exact versions (tags/branches)

  • stripping features for smaller footprint

  • avoiding third-party precompiled binaries

It targets aarch64 GL.iNet/OpenWrt devices, where space can be tight, but it’s easy to adapt to other architectures.

:warning: This is for technical users only. You should be comfortable with:

  • Go builds

  • SSH/key auth

  • modifying scripts if needed

If you just want something that works out of the box, you’re better off using existing packages.

1 Like

Hi

Thank you for sharing!
Glad to hear there are now more options for updating Tailscale.

Sure no problem! With the right compilation tags (omit functionality we don’t need and merge client and daemon) is more than enough. I’ve been doing it for a long time on a Slate AX and works like a charm.

1 Like