I have Jellyfin installed on a remote machine, connected to my laptop and phone via Tailscale. Is it possible to cast from that machine to a gen 2 Chromecast?

From the Jellyfin instance installed on my laptop, in the same LAN, I can authenticate from the phone and cast to the Chromecast, so all the pieces work.

I have tried announcing the subnet from the laptop (--advertise-routes=192.168.1.0/24), with IP forwarding etc. The remote machine accepts the route and can ping the Chromecast (192.168.1.100). From the phone I can connect to the server and start casting. The screen shows the Jellyfin logo, but playing anything has no effect.

Has someone managed to make it work?


EDIT: As I feared, it seems it’s not possible. I can’t change the routing table of my ISP’s router, so the Chromecast can’t reach the remote server.

I’ll try to find a newer Chromecast, or maybe just get a Raspberry and install the full client there. Thanks everyone!

  • Atemu@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Subnet forwarding does not work in that direction. What you’ve done is allow devices in your Tailnet (i.e. your remote machine) to access 192.168.1.0/24 by using your laptop as a proxy, not the other way around; the chromecast doesn’t know it could reach your remote machine via your laptop.

    This would be a giant hack and it’s unlikely to work but it’s possible you could get the Chromecast to communicate with the remote machine via your laptop by setting the default gateway of the Chromecast’s network connection to the local IP address of the laptop.
    It’ll probably lose internet connection that way, not sure Jellyfin needs that (don’t think so?).

    I’d rather recommend you look into getting Tailscale onto that Chromecast. I’ve never used these things, so I don’t know whether that’s possible.