Truenas Traefik tailscale: networking ports and alias
Hi, I’m trying to deploy Traefik via Docker Compose on TrueNAS SCALE, but I’ve hit the usual problem: TrueNAS reserves ports 80 and 443 for its built‑in nginx, so Traefik cannot bind to them.
I’ve spent hours reading threads about alias IPs, port redirection, and nginx overrides, but I still can’t find a clean, supported solution.
My requirements:
I do not want to modify TrueNAS’s nginx config.
I do not want to create custom nginx reverse‑proxy rules.
I want Traefik reachable from my LAN (192.168.x.x).
I also want Traefik reachable from Tailscale (MagicDNS + HTTPS).
I’m unsure whether the alias IP method on the TrueNAS NIC is the correct or safe approach.
I’m deploying Traefik via custom docker‑compose, not Apps.
I use about 15 custom apps including some that needs TLS and tailscale and traffic (immich, vaulwarden...).
My questions:
Is adding a second alias IP to the TrueNAS NIC the correct way to let Traefik bind to 80/443 without conflicting with TrueNAS nginx?
If yes, should Traefik bind to only the alias IP, or both alias + Tailscale IP?
What are the implications of using an alias on overall deployment of security?
Also that alias is a lan ip, should I use a dhcp ip reservation in my lan routeur?
Is there a better method to expose Traefik on LAN + Tailscale without touching TrueNAS nginx?
What about the "network" tag in the docker compose file?
I have excluded tailscale from my dynamic.yaml traefik config, was I right?
How do others run Traefik on TrueNAS SCALE cleanly without hacks?
Any guidance from people who solved this would help a lot...