/tailscale-qpkg

Package Tailscale client in QPKG

Primary LanguageShellMIT LicenseMIT

Tailscale QPKG builder

This repository includes build scripts for building Tailscale client QPKG for use in QNAP NAS.

Build

The build depends on Docker and make. All other build dependencies are downloaded in the Docker containers. To invoke the build, run make out/pkg. This builds Tailscale QPKG for different platforms and stores them in out/pkg.

By default, the v0.97.0 Tailscale release is built. To configure the release number, set the environment variable TSTAG to the release number, e.g. TSTAG=v0.98.0 make out/pkg.

Installation

  1. Install QVPN package in QNAP App Center to provide tun kernel modules.
  2. Manually install Tailscale package in QNAP App Center.
  3. SSH into your QNAP
  4. Get system volume path: getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info (e.g. /share/CE_CACHEDEV1_DATA/).
  5. Go to Tailscale package directory: cd /share/CE_CACHEDEV1_DATA/.qpkg/Tailscale
  6. Authorize your client: ./tailscale -socket var/run/tailscale/tailscaled.sock up

License

MIT