Hi there!

Wondering what types of setup people have that allow them to, while the internet is down, still watch/stream media from their servers. I have a stacked Jellyfin library that, and would like to see this feature/setup in my own house. My Unraid server is on the other side of the house from where the living room is. Is there actually a sane way to achieve this?

  • narc0tic_bird@lemm.ee
    link
    fedilink
    English
    arrow-up
    66
    ·
    4 months ago

    How do you not do that? It’s all in your local network, how would it not work offline…?

    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      4 months ago

      I have everything connected over Tailscale, and strictly only use IPs delegated through this system. So i realise now that I have to step away from that if I want to make it work locally :P

      • Dran@lemmy.world
        link
        fedilink
        English
        arrow-up
        30
        ·
        4 months ago

        Talescale proper gives you an external dependency (and a lot of security risk), but the underlying technology (wireguard) does not have the same limitation. You should just deploy wireguard yourself; it’s not as scary as it sounds.

        • WhatAmLemmy@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          4 months ago

          What is the issue with the external dependency? I would argue that consumer routers have near universal shit security, networking is too complex for the average user, and there’s a greater risk opening up ports and provisioning your own VPN server (on consumer software/hardware). The port forwarding and DDNS are essentially “external dependencies”.

          Mesh VPN clients are all open source. I believe Tailscale are currently implementing a feature where new devices can’t connect to your mesh without pre-approval from your own authorized devices, even if they pass external authentication and 2FA (removing the dependency on tailscale servers in granting authorization, post-authentication).

          • Dran@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            vyatta and vyatta-based (edgerouter, etc) I would say are good enough for the average consumer. If we’re deep enough in the weeds to be arguing the pros and cons of wireguard raw vs talescale; I think we’re certainly passed accepting a budget consumer router as acceptably meeting these and other needs.

            Also you don’t need port forwarding and ddns for internal routing. My phone and laptop both have automation in place for switching wireguard profiles based on network SSID. At home, all traffic is routed locally; outside of my network everything goes through ddns/port forwarding.

            If you’re really paranoid about it, you could always skip the port-forward route, and set up a wireguard-based mesh yourself using an external vps as a relay. That way you don’t have to open anything directly, and internal traffic still routes when you don’t have an internet connection at home. It’s basically what talescale is, except in this case you control the keys and have better insight into who is using them, and you reverse the authentication paradigm from external to internal.

            • WhatAmLemmy@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              3 months ago

              vyatta and vyatta-based (edgerouter, etc) I would say are good enough for the average consumer.

              WTF? What galaxy are you from? Literally zero average consumers use that. They use whatever router their ISP provides, is currently advertised on tech media, or is sold at retailers.

              I’m not talking about budget routers. I’m talking about ALL software running on consumer routers. They’re all dogshit closed source burn and churn that barely receive security updates even while they’re still in production.

              Also you don’t need port forwarding and ddns for internal routing. … At home, all traffic is routed locally

              That is literally the recommended config for consumer Tailscale and any mesh VPN. Do you even know how they work? The “external dependency” you’re referring to — their servers — basically operate like DDNS, supplying the DNS/routing between mesh clients. Beyond that all comms are P2P, including LAN access.

              Everything else you mention is useless because Tailscale, Nebula, etc all have open source server alternatives that are way more robust and foolproof to rolling your own VPS and wireguard mesh.

              My argument is that “LAN access” — with all the “smart” devices and IoT surveillance capitalism spyware on it — is the weakest link, and relying on mesh VPN software to create a VLAN is significantly more secure than relying on open LAN access handled by consumer routers.

              Just because you’re commenting on selfhosted, on lemmy, doesn’t mean you should recommend the most complex and convoluted approach, especially if you don’t even know how the underlying tech actually works.

              • WhatAmLemmy@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                3 months ago

                FYI ^ Sunny — I suggest you query your LAN routing config with Tailscale specific support, discord, forums, etc. I’m 99% certain you can fix your LAN access issues with little more than a reconfig.

        • Sips'@slrpnk.netOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          Yeah that is true. Its just that it makes things so dead simple for other friends and family to join in on. Its defo something i need to re-evaluate.

        • Sips'@slrpnk.netOP
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 months ago

          When I first got into self-hosting I started out using Tailscale, at that point i didn’t know better and figured it was all or nothing. It has actually worked flawlessly to be fair. Probably not the best or smartest decision of my life. But am now slowly wanting to turn to just a clean WireGuard setup.

      • muix@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 months ago

        You should still be able to access everything through tailscale once you switch everything over to use local IP addresses.

  • fernandu00@lemmy.ml
    link
    fedilink
    English
    arrow-up
    30
    ·
    4 months ago

    If all the devices are in the same network you should be able to stream content even without internet. I had to wait for 5 days to my ISP set up my internet on my new address and I watched my jellyfin library in the meantime with no problems.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    23
    ·
    4 months ago

    You shouldn’t have the do anything specific at all, local network stuff works without internet and Jellyfin doesn’t rely on any internet servers like Plex does for authentication.

    • suth@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 months ago

      Plex allows you to add a list of local IPs that can access your server without authentication, just have to be sure to do it while your internet is up or else you won’t be able to log in to edit the setting.

  • cron@feddit.org
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 months ago

    At least for me, this works out of the box.

    Some requirements:

    • All the devices need to be on the same network
    • DNS needs to work or you have to use IP adresses for connecting. I’ve configured local DNS on my router.
    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      No not really… Would just like it to be an option IN CASE it were to happen…

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    CGNAT Carrier-Grade NAT
    DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network
    DNS Domain Name Service/System
    IP Internet Protocol
    IoT Internet of Things for device controllers
    NAS Network-Attached Storage
    NAT Network Address Translation
    Plex Brand of media server package
    SSL Secure Sockets Layer, for transparent encryption
    TLS Transport Layer Security, supersedes SSL
    VPN Virtual Private Network
    VPS Virtual Private Server (opposed to shared hosting)

    [Thread #968 for this sub, first seen 12th Sep 2024, 08:55] [FAQ] [Full list] [Contact] [Source code]

  • sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    4 months ago

    My setup is pretty simple. I use static DNS on my router, which points my jellfin domain to the local address when on my LAN, and I set up DHCP to point my devices to use my router for DNS. It’s incredibly simple, so all I do is type in my jellyfin domain and it works optimally wherever I am.

    I actually had my internet go out for a couple hours and we were able to watch our content just fine.

  • FranksScienceMonster@slrpnk.net
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    During a rare internet-but-not-power outage, my roku tv refused to turn on or give me any option to switch inputs because it couldn’t update.

    • linearchaos@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Yeah between the forced binding arbitration and their claims to wanting to start pre-roll ads, Roku is dead to me, I will never buy another device from them nor recommend them to anyone.

  • Matt The Horwood@lemmy.horwood.cloud
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    I have a single network with my jellyfin server and wifi devices, I run Pi-Hole with DNS for internal things and can use Jellyfin while at home or out and about.

    In Pi-Hole look for Local DNS Records to add your own suff

  • willya@lemmyf.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 months ago

    Plex allows this as long as you set whatever devices local IP on the allow without authorization list. I also know that plex just gets shit on the fediverse. Jellyfin doesn’t have local allowance baked in? I’ve never used it.

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      Jellyfin doesn’t have local allowance baked in? I’ve never used it.

      Nope and that is also not needed, since it’s not a cloud dependent service.

      • willya@lemmyf.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        What? I’m confused by the question the OP asked if it’s just automatically that way.

          • sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 months ago

            Which is really weird IMO.

            If you want to run everything over a VPN, you’re going to have issues when the internet goes out. Use VPN as a fallback or to get around CGNAT, not as a primary way of routing everything.

            Here’s my setup:

            1. VPS runs WireGuard VPN and HAProxy forwards services through VPN to the relevant internal device
            2. router runs DNS server and routes my domains to local addresses
            3. TLS is handled on the device that serves the content for whatever service it is

            So when I connect on my LAN, my router just points the domain to the machine running Jellyfin and I get all the goodness of TLS. When I connect outside my LAN, my VPS tunnels TLS through the WireGuard VPN to get around CGNAT and I get all the goodness of TLS. So it doesn’t matter where I connect, I use the same URL and get TLS.

    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      It probably does tbh, I’ll have to check the documentation to double-check though. Anything that isn’t foss tends to get a handful indeed; Jellyfin genuinely is a better experience than Plex imo.

      • Blxter@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 months ago

        I know for me I had to give Plex the local IPs to force local streaming because it would try to stream remote even on local network.

        • entropicdrift@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 months ago

          Jellyfin doesn’t need any particular setup to work directly from LAN because it doesn’t ever try to use a central login provider the way Plex does.

          The only reason OP is struggling with it is because they set it up so that they can only connect to it via Tailscale.

      • willya@lemmyf.uk
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        4 months ago

        I’ll prolly give it a shot at some point. I bought lifetime plex long before jellyfin was a thing. Is there an experience similar to plexamp? It’s too good.

  • OopsAllTwix@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    I probably have something set up incorrectly, but I get no jellyfin when the internet goes down. My jellyfin is on one of those n100 beelink boxes which can’t seem to use the 2.5 ghz ethernet when this happens. I can access it from a browser (with no other web pages available)on the box itself, but it doesn’t want to send it out to the network to my roku. That’s happening right now.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    I have a NFS and Samba share to my NAS. And Jellyfin exports things via DLNA / UPnP so there is always a local route to the storage. Also I’ve set the IP address of the server in the /etc/hosts file of my router. So even when internet is down, the DNS can resolve it.