Problem

Tailscale on QNAP is not working.

Solution

SSH into your QNAP box.

Find out the system volume path:

getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info

Go to the TailScale package directory:

cd /share/CACHEDEV1_DATA/.qpkg/Tailscale

Authorize the Tailscale client:

./tailscale -socket var/run/tailscale/tailscaled.sock up

Or:

./tailscale -socket /tmp/tailscale/tailscaled.sock up

The second one worked for me.