TrueNAS, Traefik, Jellyfin, and Chromecast

So I have a bit of a conundrum I can’t quite figure out. So i have a TrueNAS server, it is set up to use Traefik for ingress so I can navigate to https://jellyfin.localdomain and it works beautifully. I can access from my phone, or browser and stream to those devices without issue, the issue becomes when I try to cast to my TV. It has a built in chromcast, and I can connect to the chromecast but when I go to start media, nothing happens. It doesn’t send the traffic.

A few things, if I don’t use Traefik for Ingress and expose a port instead, that works with the chromecast.

I’ve see posts about DNS being the issues with chromecast as it trying to use 8.8.8.8 and 8.8.4.4 regardless of what I specify. I’ve got a NAT Port Forward rule set in OPNSense to redirect all DNS queries to the OPNSense host (tested as working) so that shouldn’t be the issue anymore. I’ve also found the following posts:

https://www.reddit.com/r/truenas/comments/sfw6ip/truenas_scale_anyone_have_issues_with_casting_to/

https://www.reddit.com/r/jellyfin/comments/isc4fx/chromecasting_not_working_with_traefik_reverse/

https://www.reddit.com/r/jellyfin/comments/isc4fx/chromecasting_not_working_with_traefik_reverse/

Most of those lead to a dead end. I figured I would ask here to see if anyone on the forums has successfully set this up.

Thank you in advance.

it sounds like you’re hitting a pretty specific wall. Double check on the TrueNAS docs page but I’m fairly certain multicast won’t work at all the way you have it for some pretty specific technical reasons I can’t recall off gandy

Probably grab a pcap and double check me. Just sample a bunch of multicast traffic on the uplink port to the truenas. I don’t think any of the multicast traffic would be from kubernetes

If multicast was the issue wouldn’t that hinder connection to the chromecast initially? That’s the only real part that uses multicast, discovery. As far as I’m aware.

I’m not positive, but I am pretty sure it streams the media to the multicast group not to the unicast address of the Chromecast device, which is why you can play music on multiple Google Homes and whatnot all at the same time. Actually, IIRC this is also how broadcast TV works in the digital age of set top boxes from the cable company…and Google just borrowed the idea.

In either case, the PCAP will give us a clue to work from. This prob is a L2 problem no matter how you shake it.

This probably applies here and may be the answer:

KVM Guest All Multicast | TrueNAS Community

[NAS-112119] deprecate custom “options” for interfaces on scale - iXsystems Jira (atlassian.net)

While you can make it work for a Linux VM on KVM, it doesnt look like its possible in kubernetes on SCALE. Don’t know for sure without a PCAP.

Some newer info:
Container Host networking (Gerbera & Multicast) | TrueNAS Community