So i got my TrueNAS-SCALE-23.10.2 working. Immich, tailscale, and Plex. What I cannot seem to do it get access truenas apps with tailscale. I saw some other things on here but nothing seemed to work.
I have subnets and exit node enabled in tailscale.
Enabled - Advertise Exit node
Enabled - Userspace
Enabled - Host network
Advertise Routes I added my home ip network. 192.168.1.0/24
I can access my truenas via tailscale but thats it. It does not like it when I add ports.
I tried to use nginx proxy manager to add the port that way like other applications. But any apps like immich do not work.
Just make sure you add the route to Tailscale as a /32, ie. 192.168.1.15/32, so you’re only routing to that specific host over Tailscale.
192.168.0.0/16 is an RFC1918 address range and likely to be used extensively in other locations. If you’re on someone else’s LAN (ie. a friend’s house, work, coffee shop, etc.) and it’s using 192.168.0.0/16 but you route all that traffic over your tailnet things will break.
So I changed it from 192.168.1.0 to the actual ip of the truenas. I have tailscale Subnet routes pointing to the actual ip of my truenas.
I also added Advertise Routes the same ip with /32 at the end in truenas in the tailscale part. but its still not working. I always get refused to connect.
I should also note i am trying to connect to immich app on my truenas.
that is true. This works fine for me, and for enabling apps, there is just ONE ip address you need to route to which limits the potential damage. It’s just a fast solution to a problem.
Exactly!!! that is the same solution I came up with above. It’s the simplest solution by far.
The other solution is simply to re-write every URL to use the tailscale host name, but apps may generate URLs referencing the IP address so this alternative approach doesn’t go very far.