Tailscale is a WireGuard-based app that makes secure, private networks easy for teams of any scale.
It’s a zero config VPN. Installs on any device in minutes, manages firewall rules for you, and works from anywhere.
No config files, no firewall ports.
Create a secure network between your servers, computers, and cloud instances.
Even when separated by firewalls or subnets, Tailscale just works.
logs can be found in /opt/QTailscale/tailscale.txt with url connection or use Webui
edit /opt/QTailscale/start.sh if you need to modify any command (persistent on update)
Last update: 24 April 2025
gonesurfin324 –
The app installs fine, but for some reason when I start Tailscale the tailscale.txt that is put into the public folder is blank. So I cannot authenticate the server, is anyone else having this problem?
QoolBox –
it changed in last release 1.36 … logs are in QPKG ROOT dir
Peter –
Installed on TS-212P (ARM-X19), TS-563 & TS-664 (NASX86). Finding the tailscale.txt file in order to authenticate was the only issue on the newer units (QTS 5.0.1). On the older unit (QTS 4.3.3), it was necessary to install the QVPN app in order to enable /dev/net/tun needed by tailscale. Also I needed to adjust the order of the init.d scripts in /etc/rcS.d so QVPN starts before tailscale. Even with this modification, I needed to add a ‘sleep 60’ in the Tailscale.sh script just before the ‘tailscaled’ line. Otherwise tailscale attempts to start before QVPN is ready. See this link for instructions on finding the tailscale.txt file.
https://www.reddit.com/r/Tailscale/comments/p1lawn/qnap_how_to_set_up_a_static_route_and_set_your/
I just used the URL in tailscale.txt, not the command shown in the reddit article.
Very happy I am able to use tailscale on all my QNAP devices, even the old one.
David M –
Won’t install on my TS-231K. I’ve tried 1.36.1 from QNAP Club which installs but won’t appear on the desktop. Can’t give more than 1 star but it may be my fault for trying to install on an incompatible device. Sorry.
Tronic –
Works great!
Mattia –
Wow, it works on QTS 4.3.3.* on an ARM4 NAS, although the official qpkg needs at least the 5.* version of the firmware. I’ve previously installed the QVPN app – but I don’t know if it’s mandatory -, then I logged to the NAS via ssh. Inside the /share/CACHEDE1_DATA/.qpkg/Tailscale folder I found a tailscale.txt file with the link to log-in to my Tailscale network. Thank you!
Adam –
When I use the ‘official’ 1.40.0-1 version, I can get to https://#.#.#.#/cgi-bin/qpkg/Tailscale/index.cgi . However when I install this version over the old version, I get the errors “Not Found The requested URL was not found on this server.” or “Forbidden You don’t have permission to access this resource.” when attempting to open the app to the above /cgi-bin/qpkg/Tailscale/index.cgi webpage. Any ideas? thanks for your help, merci!
QoolBox –
There is no web interfaces on this version (not implemented) probably the official from tailscale using same directory name as mine.. then may be there are some conflict
Adam –
thanks QoolBox, very quick response. That makes sense. Your package is all command line. And the older official one has a web interface to set up some basic functionality only.
durpster –
For anyone wondering where the fuck tailscale got installed to, you can try this path there:
ssh into your QNAP and navigate to:
/share/MD0_DATA/.qpkg/Tailscale/
failing that is should be in:
/share/_DATA/.qpkg/Tailscale/
QoolBox –
This is the relativ PATH, /opt/tailscale is the symlink pointing to this path and command line also added to NAS $PATH (/usr/bin/)
robert-marek –
Tailscale on QNAP TS-231P works great. There is only a problem with restarting Tailscale after restarting QNAP. You have to stop and then restart Tailscale.
Can you show me detailed instructions and commands on how to add “sleep 60” in the Tailscale.sh script just before the “tailscaled” line? Such instructions were presented above on February 12, 2023 by Peter, it supposedly works, but how do I do it step by step.
rocco.spano –
ricordatevi di installare prima il pacchetto QVPN altrimenti tailscale dopo il run si spegne da solo… leggendo un po su sembra dipenda qualcosa da quel pacchetto.. per il resto funziona benissimo su ts-231p3
rocco.spano –
purtroppo su ts231-p3 con qts5 funziona ma dopo un po che è avviato si spegne… anche con qvpn installato
rocco.spano –
ragazzi scusate i 3000 post… allora buttate gli altri 2… funziona ma non avviatelo da shell… avviatelo da app manager via web cosi il servizio viene caricato fisso… FUNZIONA
Grzegorz Kisiel –
Hi guys,
if you want to have working status window when you click on tailscale icon you need to modify tailscale.sh and add this lines above “/bin/ln -sf $QPKG_ROOT /opt/$QPKG_NAME”
Code to add:
mkdir -p /home/httpd/cgi-bin/qpkg
ln -sf ${QPKG_ROOT}/ui /home/httpd/cgi-bin/qpkg/${QPKG_NAME}
And create if you dont have it index.cgi in ui folder with:
#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME=”Tailscale”
QPKG_ROOT=$(/sbin/getcfg ${QPKG_NAME} Install_Path -f ${CONF} -d””)
exec ${QPKG_ROOT}/tailscale –socket=/tmp/tailscale/tailscaled.sock web -cgi –prefix=”/cgi-bin/qpkg/Tailscale/index.cgi/”
That should give you Tailscale status popup window.
Or maybe Qoolbox can make it in another release 🙂
QoolBox –
better ask on Discord channel 😉 it has been added in 1.82 version
d5aqoep –
New QTailscale from MyQNAP Repo
Enable admin account on QNAP
SSH into your QNAP
ssh admin@QNAP IP ADDRESS
Enter admin password (default is MAC address in capitals without : or -)
Get system volume path: getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info (e.g. /share/CACHEDEV1_DATA/).
Go to Tailscale package directory: cd /share/CACHEDEV1_DATA/.qpkg/QTailscale
Authorize your client: tailscale up –advertise-exit-node
To advertise a PC and it’s specific IP address via a static route:
tailscale up –advertise-exit-node –advertise-routes=192.168.1.1/32
To move Taildrop files from Tailscale’s temp location to a desired location, for example a share called Taildrop on your share/ then pass the following ssh command
cd /share/CACHEDEV1_DATA/.qpkg/QTailscale ./tailscale -socket var/run/tailscale/tailscaled.sock file get $LOCATION /share/Taildrop
Now you can taildrop files from PC/Android/iPhone to your QNAP.
Notes: I don’t know why official Tailscale qpkg hasn’t been updated since a year and why was app name changed to QTailscale ?
Artem –
QNAP TS-231P with QTS 5.2
To all who struggle with Talscale service that doesn’t starts automatically after NAS restart. I’ve tried to increase ‘sleep 10’ timer in /opt/QTailscale/start.sh and add new one like ‘sleep 120’ before ‘START DAEMON’ in same way in start.sh but no luck. Additionally, I’ve tried to change startup priority by renaming /etc/rcS.d/QS117QTailscale to QS999QTailscale – system reverts this change after restarting. Then I’ve tried to add cron entry to restart service after rebooting NAS by official manual (https://wiki.qnap.com/wiki/Add_items_to_crontab). For some reason it doesn’t persist after reboot. Finally, I found the solution.
From MyQNAP install ‘RunLast’ package, then connect to NAS via SSH and run:
cd $(getcfg RunLast Scripts_Path -f /etc/config/qpkg.conf) // you will jump to ‘script’ directory of this package, it used to run scripts after all installed and embedded packages are started
touch QTailscale_Start.sh // create new script
vi QTailscale_Start.sh // edit this script by pasting into it next four lines
#!/usr/bin/env bash
{
/etc/init.d/QTailscale.sh restart
} &> /var/log/tailscale_restart.log
:wq // write and quit
chmod +x QTailscale_Start.sh // make script executable
After rebooting in QNAP GUI you can open RunLast (CLI) app and see that your script executed successfully and NAS status in Tailscale admin console is now Connected.
So this script will automatically restart Tailscale package after system reboot and in native way with init.d.
In any other ways Tailscale app works like a charm without any additional settings (installing QVPN or setting up QFirewall rules) except webpage (it just shows me three dots like ‘loading’ and nothing more) but this is not a big deal because of access link that you can find in /opt/QTailscale/tailscale.txt via SSH.
Artem –
To all who struggle with Talscale service that doesn’t starts automatically after NAS restart #2… just disable ‘Service binding’ to specific interface (if you can) in Control Panel – Network access and Tailscale will start correctly after reboot without any workaround from previous post.