This repository includes build scripts for building Tailscale client QPKG for use in QNAP NAS.
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
.
- Install QVPN package in QNAP App Center to provide
tun
kernel modules. - Manually install Tailscale package in QNAP App Center.
- SSH into your QNAP
- Get system volume path:
getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info
(e.g./share/CE_CACHEDEV1_DATA/
). - Go to Tailscale package directory:
cd /share/CE_CACHEDEV1_DATA/.qpkg/Tailscale
- Authorize your client:
./tailscale -socket var/run/tailscale/tailscaled.sock up
MIT