this post was submitted on 20 Jul 2023
4 points (100.0% liked)

TrueNAS

588 readers
1 users here now

Welcome to the unofficial TrueNAS community!

Here for all things TrueNAS whether you need help with your core, scale, or enterprise edition setups or if you just want to discuss random stuff pertaining to TrueNAS!

Useful Links:

TrueNAS:

Truecharts:

Main MOD: @[email protected]

founded 2 years ago
MODERATORS
 

Hey! For a while now I've been using Tailscale to access some of my apps in TrueNAS Scale remotely. Since I also want to be able to access my SMB shares on Truenas, I have so far always resorted to setting both Tailscale and the corresponding apps to using host networking.

Not all apps natively support host networking though (e.g. the Immich Community app). Because of this, I cannot access Immich via Tailscale since it is not "listening" on the Tailscale interface/Tailscale IP range.

Is there any option to either configure Tailscale in a way that it can access both TrueNAS apps and host system services like SMB or alternatively some way to make TrueNAS apps listen to requests from the Tailscale interface as well?

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] Sleeping 2 points 1 year ago (1 children)

Hmm… are you using the community version of Tailscale? Since, I've never had to enable host networking for any of my apps, and I've been able to access all of them through Truecharts Tailscale app while still retaining access to my SMB shares. Also, this may sound silly, but have you double-checked your routes in the Tailscale app?

[–] [email protected] 3 points 1 year ago

Thank you for all your ideas! It turned out that the problem was primarily on the other device. The device that is meant to connect to the TrueNAS app in question is a Debian server that has Tailscale installed on a Docker container. Here, accept-routes is set to false by default, and since I'm starting the container with docker compose, I have still not figured out how to pass the --accept-routes parameter. Anyway, this is completely unrelated to TrueNAS, so this is probably the wrong place for it.