When setting up Tailscale on my TrueNAS machine, I got hung up on Advertised Routes section. I’m not 100% sure on where to find the proper route to input here. My best guess was to go to terminal (on linux) and use ip route. That gave me a 192.x.x.x/xx route that I put in for tailscale. Would that be correct?
P.S. Now that I think about it, my machine that I ran that command from is a on a different Wifi network than my TrueNAS machine. So the route that I got probably would be different. So I would guess I need to be on the same network as the machine, then run the ip route command.
These are all of my app settings on Dragonfish-24.04.2.5. All I did was look at the IP range of my network (192.168.1.0/24) and type it in. If I had an isolated network e.g. wifi at 192.168.2.0 or something I would put that in instead. If I wanted both, I am not sure what I would type.
It means I can connect from outside my LAN (e.g. 4G phone) and listen for example to my own music collection stored in a share on my TN box.
You just Add another Advertise Routes entrie and put in the other route.
But how did you enabled IP forwarding on the host via System > Advanced Settings > Sysctls? I can’t reach my LAN-printer from my notebook, when Tailscale is activated on it.
Now I can access printer.
TCP/IP Port was set by printer with a name and not with the IP.
After setting the IP to the TCP/IP Port manually, I can reach the printer with Tailscale enabled.
Well it works withadding those 2 lines to the sysctl
FYI I´m about 99% sure since truenas has following filepath /etc/sysctl.d/
That you could initialize this with a post install script or commands as per tailscale instructions. But it´s not needed since this just works, at least for me.