u/Humble_Giveaway

▲ 6 r/hexos

Changing TrueNAS web interface ports completely breaks HexOS

I've been trying to set up a local reverse proxy using NPM within TrueNAS so I can access my services like Immich via my own domain names on my local network (e.g. immich.mydomain.com) without the traffic going out through Cloudflare tunnel and back. (Cloudflare rate limits large file uploads, so the same domain redirecting when on my local network is a nice to have)

The problem is TrueNAS binds to 0.0.0.0 on ports 80 and 443, which means it grabs those ports on every IP address on the machine. There's no way to restrict it to a specific IP. This means any reverse proxy running on the same machine can't use those ports at all, even if you add a secondary IP alias to the network interface TrueNAS still blocks it.

The only workaround is to move TrueNAS to non-standard ports, but doing so completely breaks HexOS since it appears to hardcode to port 80/443 and loses all communication with TrueNAS. This makes HexOS fundamentally unusable for anyone who wants to change their TrueNAS ports. There desperately needs to be a manual port configuration in HexOS settings, I found a request on the forum from October last year but its had no traction...

reddit.com
u/Humble_Giveaway — 1 day ago