Skip to content

Instantly share code, notes, and snippets.

@pedi
Forked from tux7k/READYNAS-Tailscale.md
Created February 19, 2025 01:43
Show Gist options
  • Select an option

  • Save pedi/0145447544ec3e7a92065712f2610619 to your computer and use it in GitHub Desktop.

Select an option

Save pedi/0145447544ec3e7a92065712f2610619 to your computer and use it in GitHub Desktop.
How to setup Tailscale on NETGEAR READYNAS Devices

How to setup Tailscale on NETGEAR READYNAS Devices

Download and Extract Tailscale

  1. Go to the the Tailscale Linux Download Website and select 'Other' as the distro.
  2. Enable SSH on the NAS, and SSH into the admin account
  3. Do su and type in the admin password
  4. Download the stable release for 'arm' not arm64 in the admin home directory
  5. Unpack the archive with tar xvf tailscale_VERSION_ARCH.tgz

Moving files into locations

  1. tailscale -> /usr/bin
  2. tailscaled -> /usr/sbin
  3. systemd/tailscaled.service -> /etc/systemd/system

Chmoding files to execute

  1. chmod +x /usr/bin/tailscale
  2. chmod +x /usr/sbin/tailscaled

Editing the systemd service to work

  1. Remove lines 4 & 5 (the Wants= line and After= line)
  2. Remove line 8 (the EnvironmentFile= line)
  3. Remove everything after tailscaled.sock on the line starting with ExecStart=

The file should look like this

Starting / Enabling the service

  1. systemctl start tailscaled
  2. tailscale up
  3. systemctl enable tailscaled

Done! ๐ŸŽ‰

Tell me if anything is broken or doesn't work.

@ng0ctr4n55
Copy link

ng0ctr4n55 commented Jul 29, 2025

Thanks for the instruction on my ReadyNas 104
I tried to
move tailscale -> /usr/bin

got error
mv: cannot create regular file '/usr/bin/tailscale': Permission denied
image

@pedi
Copy link
Author

pedi commented Jul 29, 2025

Thanks for the instruction on my ReadyNas 104 I tried to move tailscale -> /usr/bin

got error mv: cannot create regular file '/usr/bin/tailscale': Permission denied image

try sudo mv tailscale /usr/bin ?

@ng0ctr4n55
Copy link

ng0ctr4n55 commented Jul 29, 2025

image `-bash: sudo: command not found`

@rlsx
Copy link

rlsx commented Oct 16, 2025

Thanks for the instructions.
I am using a Readynas RN314 with an Intel Atom 2 Dual Core CPU. running Readynas OS6.
So I chose to download istead "amd64: tailscale_1.88.3_amd64.tgz", and used your instructions as a template.
There is a file: tailscaled.defaults not mentionned in your instructions. I put in in /etc/systemd/system/
Tailscale is apparently running correctly. I can ssh into the NAS, using its tailscale IP.
But, even following the Tailscale docs carefully, I have'nt managed to make the NAS an exit node.
Runniing "tailscale status" gives the following:

# Health check:
# - running [/sbin/iptables -t nat -N ts-postrouting --wait]: exit status 3: 
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Any ideas? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment