I made a streamlined guide which works hopefully on every Merlin. I had trouble installing on my RT-N18U but in the end I made it.
#You can use my script or install manually. Script is simple and robust, worked for me..
Github
wget https://raw.githubusercontent.com/bobanilic/MerlinScale/main/install_tailscale.sh && chmod +x install_tailscale.sh && ./install_tailscale.sh
Install Entware(from AMTM) and other necessary packages:
opkg install ca-bundle
opkg install tailscale
#(tailscale_nohf -use this if you can't install main)
Go to website and download correct architecture (e.g., ARM, ARM64, x86_64).
Extract it and copy the content to update manually:
cp /tmp/mnt/USB/FOLDER/tailscale_1.64.0_arm/tailscale /opt/bin/
cp /tmp/mnt/USB/FOLDER/tailscale_1.64.0_arm/tailscaled /opt/bin/
edit /opt/etc/init.d/S06tailscaled and update ur ARGS:
ARGS="-tun=userspace-networking -statedir /opt/var/tailscale/"
You can run "
tailscale update" to check for latest version and also to make sure that you downloaded the correct architecture
(if the architecture was wrong you will get an error)
If everything is OK, execute command "
tailscale up" which will generate a link:
(alternative:
tailscale up --auth-key=<your-auth-key>
)
Use this command to add your routes:
tailscale up --accept-routes --advertise-routes=192.168.0.0/24,192.168.1.0/24
#(make sure to use your subnet)
(you need to approve them in tailscale dashboard)
For default commands just type "tailscale" to list, or execute(example):
tailscale start
In order to use "tailscaled" start/stop/check use this command:
/opt/etc/init.d/S06tailscaled check
Credits to Fakemanhk Reddit
Credits to RandomUser777