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!

  • Sleeping@programming.devM
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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?

    • wolre@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      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.