I think I might actually have two issues here. I hope this isn’t against some rules, as at least one of the issues might not be directly related to TrueNAS
- Tailscale setup (maybe unrelated to TrueNAS)
I’ve been trying to get support about Tailscale on StackOverflow and via their official support channel by email. No reply from them for two weeks now. So on Cloudflare I have DNS entry for my domain -CNAME * nas.aaa-bbb.ts.net
. And seemingly it resolves:
dig +short test.domain.tld
nas.dab-deneb.ts.net
If I visit nas.dab-deneb.ts.net directly, I get TrueNAS UI. But if I go to test.domain.tld, I get ERR_NAME_NOT_RESOLVED
- How to route all traffic through Caddy? (don’t know if it’s related to the first issue)
I was searching quite a bit, but can’t find a proper step by step tutorial how to set up routing through Caddy. I believe it involves port forwarding on router itself and I tried to forward0.0.0.0 80 > 192.168.1.11 9080
(same for 443). 192.168.1.11 is my TrueNAS machine IP and 9080 is Caddy forwarded port. In Caddy container setup I have definedContainer Port 80
andNode Port 9080
(similar for 443).
I have Caddy itself up and running and in logs I see even Cloudflare certificates are obtained.
I’ve been stuck with this since I installed TrueNAS (a couple of weeks ago)
Any help or just a pointer to the right direction would be greatly appreciated