Bit more clarity on this.echohelloworld wrote: ↑03 Jul 2024, 00:50Was able to set this up by following the the tailscale exit node directions for linux -https://tailscale.com/kb/1103/exit-nodes?tab=linux. This will require SSH-ing into the server, and adding the two ip forwarding configs to the sysctl.conf file. Afterwards, you need to advertise it as a exit-node, and approve it in the admin tailscale console.
Once you have the module installed and running, ssh to your TNAS, then:
Code: Select all
echo 'net.ipv4.ip_forward = 1' | tee -a /etc/sysctl.conf
echo 'net.ipv6.conf.all.forwarding = 1' | tee -a /etc/sysctl.conf
sysctl -p /etc/sysctl.conf
Code: Select all
cat /proc/sys/net/ipv4/ip_forwardRestart Tailscale to pick up the forwarding changes:
Code: Select all
/etc/init.d/Tailscale stop
/etc/init.d/Tailscale startCode: Select all
/Volume1/@apps/Tailscale/bin/program/tailscale set --advertise-exit-node
/Volume1/@apps/Tailscale/bin/program/tailscale up
The FLAGS value in tailscale.defaults is passed to the tailscale daemon (by Go) and not the tailscale app.
{Not yet confirmed this remains after Tailscale app restart or TNAS restart}






