Hi all,
Was hoping I could provide a quick rundown of my setup with what I’m hoping to accomplish to see if I’m thinking straight. I’ve gotten myself into a documentation/YouTube spiral and have worked myself into a knot of confusion and I’m not entirely sure what is possible anymore.
-Local server is running latest version of Fangtooth. I also have a remote machine running latest Fangtooth for offsite backups which is currently on my desk being onboarded/configured before taking it to the remote site.
-Local TrueNAS machine is running Jellyfin, Immich, Tailscale and plan to add Syncthing and Nginx
-Remote machine also has Tailscale. Syncthing install is on the punchlist
-I’ve got an OPNsense box for router/firewall, using Unbound for DNS
I’ve got the installed apps up and working just fine. I can connect remotely from laptop/phone to both TrueNAS boxes through Tailscale and access their respective resources.
Now I want to tidy things up a bit. My issue arises from the desire to use Nginx for both SSL certs and as a reverse proxy w/ a local domain for all of my current and future services.
I am all good with the process of getting all of that working locally. My question comes into play when factoring Tailscale. Is there a way to configure the DNS/Tailscale/Nginx trifecta such that I can use the same service.example.com URL regardless of whether I’m connected to my network at home or remotely via Tailscale? I could have sworn I saw a video where this was possible but in the past three days everything I’ve been able to find seems to set things up like “service.local.example.com” and “service.tailscale.example.com” depending on the connection. This seems a bit clunky to me and I would love to have just one URL for each service. The shorter the better, really.
I think I’m just having trouble comprehending the goesinta/goesoutta signal flow of it all.
Am I thinking correctly that this should be possible or am I in desperate need of sunlight and fresh air?