Tailscale

From rbachwiki
Jump to navigation Jump to search

Enable Routing on synology to access local printers

  • SSH into synology
sudo tailscale up --advertise-routes=192.168.20.0/24 --reset
  • in tailscale admin
    • Right click on 3 dots
    • Edit Route Settings
    • Turn on node
    • Right click on 3 dots again
    • Disable key expiration

Resetting back node to default

sudo tailscale up --reset
  • Tailscale admin
    • Reverse previous settings

Updating Tailscale on Synology Nas

1. Create a scheduled task on each NAS: Create → Scheduled Task → User-defined script

User: root
Schedule: weekly, at a quiet time
Run command:

TS=/var/packages/Tailscale/target/bin/tailscale
$TS version
$TS update --yes
sleep 30
$TS configure synology
synosystemctl restart pkgctl-Tailscale.service
sleep 20
$TS version

2. Run it once by hand and check the output file. The second version number should be newer than 1.58.2.