I currently have a jellyfin setup running on my pc which I access when away from home by tailscaling into my home network. This works great for my partner and I while we are away from home.

I have given my siblings access to my jellyfin setup as well, and I’ve added them to the tailscale network too. They live in a different country though and have had some latency issues (media buffering constantly) making it kinda suck to use.

I would love to be able to improve this performance but I dont really know where to start. Would this be a bandwidth issue somewhere between my pc, tailscale, my router, their router, and their device? Would this be caused by some setting in my jellyfin setup or in the jellyfin client on their device? I would really appreciate any advice on where I should start to troubleshoot to improve this performance.

  • stratself@lemdro.id
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    If both your Jellyfin server and your siblings are behind residential CGNAT, then high chance your connections are relayed through Tailscale’s DERP servers. You can check with tailscale ping-ing your sibilings’ nodes.

    If this is the case, you may consider selfhosting your own DERP somewhere close to you, but I’d argue the performance gains are minimal compared to the extra costs. Another solution would be to enable IPv6 for both you and your siblings, skipping NAT traversal. I just hope both ISPs support it and support it properly in $CURRENT_YEAR.

    This is all assuming you can direct play (i.e. not transcoding) your media. If you’re transcoding, then it’s good to look into hardware acceleration like the other comment mentioned, too

    • nightrider@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Would using something like pangolin be a solution to improve speeds rather than stuff going via relay it goes DNS->VPS->Local VM behind cgnat accessed via tunnel?

      • stratself@lemdro.id
        link
        fedilink
        English
        arrow-up
        1
        ·
        22 hours ago

        Hi, I think OP wants their sibilings to directly connect to their PC, skipping any relays, even if it’s their VPS.

        But if you are comparing setting up your own VPS instead of relaying through Tailscale’s DERP, then the answer is… it depends on the distance and whether you can establish VPS->Local VM direct connections.

        I found opening a specified port for Tailscale on the VPS to help with direct connections with CGNAT’d peers. I’m not familiar with Pangolin, but I think the same principle applies as long as at least one address:port combination is agreed between Wireguard peers.

        If I’m being honest though, before doing all this, try asking your ISPs for IPv6 to avoid these cumbersome things together.