This repository includes build scripts for building Tailscale client QPKG for use in QNAP NAS devices.
The build depends on Docker and make
. All other build dependencies are
downloaded in the Docker containers. To invoke the build, run make pkg
.
This builds Tailscale QPKG for different platforms and stores them in
out/pkg.
To configure the release number from what is in the Makefile,
set the environment variable TSTAG
to the release number, e.g.
TRACK=unstable TSTAG=1.33.161 make pkg
.
- Manually install Tailscale package in QNAP App Center.
- Open the Tailscale app and proceed with login.
##CLI/SSH for configuration and set up after instalation of qpkg (Use this if on older firmware [e.g. 5.0.0.1986] or if you prefer cli)
- Login to your qnap with ssh
- Use the command
getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info
to know where you have installed the app. (Its output should look like/share/CACHEDEV1_DATA/
or/share/CACHEDEV1_DATA/
) - Go to Tailscale package directory:
cd /share/CACHEDEV1_DATA/.qpkg/Tailscale
- Authorize your client:
./tailscale up
##Notes
If the command won't run with ./tailscale
only, put -socket var/run/tailscale/tailscaled.sock
argument after ./tailscale
(e.g. ./tailscale --socket var/run/tailscale/tailscaled.sock status
)
To get an https certificate run the command ./tailscale cert
this would act the same way as sudo tailscale cert
in linux distributions
Thanks to @ivokub for creating this project and transferring it to Tailscale's GitHub org.