• AllHailTheSheep@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      2 小时前

      or use the ldap auth plugin with your source of truth, put it behind a reverse proxy, protect it with fail2ban and anubis. there are ways of exposing it safely.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        1 小时前

        Do not rely on an OIDC/LDAP provider with Jellyfin, you cannot run these in front of your proxy otherwise Jellyfin applications will not be able to communicate with the server.

        Blacklist all IP address and whitelist the known few, no need for Fail2Ban or a WAF.

        • AllHailTheSheep@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          52 分钟前

          you totally can use ldap or oidc it just requires more setup. you just ensure jellyfin and your source of truth talk on their own subnet, docker can manage it all for you. ldap can be setup to be ldaps with ssl and never even leave the docker subnet anyways.

          and yes I suppose you could rely on whitelists, but you’d have to manually add to the whitelist for every user, and god forbid if someone is traveling.

    • CompactFlax@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      47
      arrow-down
      1
      ·
      edit-2
      6 小时前

      That’s never made sense to me; why build an authn frontend instead of just clicking your user if the security is just an illusion anyways. “Use a VPN” is fine for a mainframe, but an active project in 2026 should aspire to be better.

      Edit: or make note of that on their several pages with reverse proxy configuration.

      Examples dating back over six years https://github.com/jellyfin/jellyfin/issues/5415

        • FauxLiving@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 小时前

          Yes, not everyone. My grandmother would struggle setting up a VPN, for example.

          However, a community member of the selfhosted community is perfectly capable of reading a manual and learning the software.

          That’s how you become tech literate in the first place, and you’re already on that path if you’re commenting/reading here.

          • Hammersamatom@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            47 分钟前

            Agreed, was more so referring to others. I apologize if it seemed like I was referring to myself

            I’m already well and truly deep into this, myself. Two Proxmox nodes running the *Arr stack and Jellyfin in LXC containers. Bare metal TrueNAS, with scheduled LTO backups every two weeks. A few other bits and bobs, like some game servers and home automation for family.

            Will need to re-map everything eventually, it’s kind of grown out of hand

            • FauxLiving@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              26 分钟前

              Look at Tailscale (or self-host headscale)

              It’s a bit of learning (like all of these other things) but it’s a very powerful tool.

              I do agree with the general point that Jellyfin shouldn’t require a VPN.

          • sanzky@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 小时前

            and then you are giving access to your lan to people whose computer you don’t control and might be full of malware.

            • FauxLiving@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 小时前

              You only have to give them access to a specific port on a specific machine, not your entire LAN.

              My VPN has a ‘media’ usergroup who can only access the, read-only, NFS exports of my media library.

              If you’re just installing Wireguard and enabling IP forwarding, yeah it would not be secure. But using a mesh VPN, like Tailscale/Headscale, gives you A LOT more tools to control access.

          • Hammersamatom@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 小时前

            Oh absolutely, difference being that you only need to expose the service once, versus helping however many people set up VPNs to access the service on your LAN

            I know way too many people who won’t remember to toggle it on, or just won’t deal with it

            It’s just not convenient enough

      • AHemlocksLie@lemmy.zip
        link
        fedilink
        English
        arrow-up
        27
        ·
        6 小时前

        I mean I’m sure they’d like to just ship safe code in the first place. But if that’s not their expertise and they demonstrate that repeatedly, we gotta take steps ourselves. Secure is obviously best, but I’d rather have insecure Jellyfin behind a VPN than no Jellyfin at all.

      • IratePirate@feddit.org
        link
        fedilink
        English
        arrow-up
        16
        ·
        6 小时前

        It’s not this or that. Security comes in layers. So while I would assume that the Jellyfin developers do their best to secure their application, I acknowledge the fact that bugs do exist and that Jellyfin is developed in and for hobbyist contexts, and thus not scrutinised and pentested for vulnerabilities in the way software meant for professional environments would be. Therefore I’ll add an extra layer of security by putting it behind a VPN that only whitelisted clients can access. If a vulnerability is detected, I can be sure it hasn’t already been exploited to compromise my server because we’re all “among friends” there.

    • Damarus@feddit.org
      link
      fedilink
      English
      arrow-up
      76
      arrow-down
      6
      ·
      10 小时前

      Kinda defeats the purpose of a media server built to be used by multiple people

      • ugo@feddit.it
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        2
        ·
        5 小时前

        No need to expose jellyfin to the internet if you selectively allow peers on your lan via wireguard.

          • ugo@feddit.it
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 小时前

            I believe your situation, that said I set up wireguard on my SO’s mac and all that is needed is to flip a switch in an app to connect. For my aunt, I’d likely set that up permanently since it only affects traffic when accessing the lan.

            • Damarus@feddit.org
              link
              fedilink
              English
              arrow-up
              7
              arrow-down
              2
              ·
              4 小时前

              The difference is that my friends get a lot of value out of my server, as they don’t need to use any technology they’re unfamiliar with.

          • ramble81@lemmy.zip
            link
            fedilink
            English
            arrow-up
            12
            arrow-down
            1
            ·
            7 小时前

            That’s why you do it at your router or gateway and then set a route for the Jellyfin server through the VPN adapter. That way any device on your network will flow through the tunnel to the Jellyfin server including TVs

            • faercol@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              25
              arrow-down
              2
              ·
              6 小时前

              Which again implies that you have a router that allows you to do so. It’s not always the case. For tech enthusiast people that’s the case. But not for everyone.

              I tried to do the same thing at first, but it was a pain, there were tons of issues.

        • tiz@lemmy.ml
          link
          fedilink
          English
          arrow-up
          6
          ·
          9 小时前

          Don’t reverse proxies like pangolin just do the job? Does it have to be VPN in this particular concept? VPN isn’t like immune to vulnerabilities.

          • radar@programming.dev
            link
            fedilink
            English
            arrow-up
            22
            ·
            9 小时前

            Reverse proxy doesn’t really get you much security. If there is an application level issue a reverse proxy will not help

            • whimsy@lemmy.zip
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 小时前

              Hmmm, I’m a bit rusty on this but can’t one put an auth gate in front of the application, handled by the reverse proxy?

              • radar@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 小时前

                You can, that would actually give you security. Not sure how many people do that. I assumed a straight reverse proxy without any auth

          • r00ty@kbin.life
            link
            fedilink
            arrow-up
            11
            ·
            8 小时前

            Reverse proxy will let anyone connect to it. VPN, you can create keys/logins for your intended users only. Having said that, from what I could see, nothing in the security fixes were to do with authentication. I think (just from a cursory look), they could only be exploited, if at all from an authenticated user session.

            But personally, something like jellyfin where the number of people I want to be able to access it is very limited, stays behind a VPN. Better to limit your potential attack surface as much as you can.

          • ohshit604@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 小时前

            Pangolin is based off of Traefik if I’m not mistaken, should be able to use Traefiks IPAllowlist middleware to blacklist all IP addresses and only whitelisting the known few, that way you can expose your application to the internet knowing you have that restriction in place for those who connect to your service.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      6 小时前

      Y’all are assuming the security issue is something exploitable without authentication or has something to do with auth.

      But it it could be a supply chain issue which a VPN won’t protect you from.

    • Lemmchen@feddit.org
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      7 小时前

      The thing is, if you have non-technical users, you have to set up the VPN connection on the client site yourself, maybe on multiple machines and more than once, if they decide to upgrade or even just reset their devices.

      • esc@piefed.social
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        1
        ·
        7 小时前

        The problem here - it’s not me who requires access to my library, if someone isn’t willing or able to do it, I’m sorry but that’s just how it is. People should stop infantilize non-technical people, absolute majority of them is capable of navigating our world without much problems and I’m willing to help them if help is asked.

        If my 60 y.o. mother with close to zero technical skills can do it with limited help (due to distance and other constraints) I’m pretty sure that majority of people with sound mind can.

        • Lemmchen@feddit.org
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          2
          ·
          4 小时前

          Or you can not be arrogant towards your friends and family who have probably helped you on lots of occasions and will probably keep being there for you in the future.
          Idk man, unconditional sharing feels pretty good, tbh. Making them jump through hoops isn’t really my jam. To me this kinda all plays into making a stronger bond with people that are close to me, so maybe we have different reasons for why we are sharing our stuff.

          Inb4 “we are not the same” meme

          • esc@piefed.social
            link
            fedilink
            English
            arrow-up
            4
            ·
            3 小时前

            I’m not arrogant, just don’t assume that people are dumb and inept. If they can’t or don’t want to give a bit of time to setup it, well how can someone be forced to use free service that causes momentarily inconvenience once to use. 😔

          • irmadlad@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 小时前

            Idk man, unconditional sharing feels pretty good

            Pass. Users cause complexities. Complexities cause issues.

        • IratePirate@feddit.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 小时前

          This. And for everyone you just can’t figure it out on their own, there’s RustDesk for remote assistance. It, too, can be self-hosted.

      • DreamlandLividity@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        1
        ·
        edit-2
        7 小时前

        So use a reverse proxy with authentiacation before access to Jellyfin is allowed. I use Caddy forward_auth with Authelia for this. Unless you also want to use the apps without VPN, this works great.

          • DreamlandLividity@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            3 小时前

            No. As I said, apps don’t work. I cobbled together an API key service that let’s you have an API key (password) in the server URL in Rust for myself. This works with Apps, but it is a bit too messy and single purpose for me to open source it right now. Maybe one day.

        • bonenode@piefed.social
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          2
          ·
          7 小时前

          I just love it when people post one sentence rebuttals without actually including any usable information what they are talking about.

          • traxex@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 小时前

            Tailscale is a super easy vpn that gives you access to your home network from anywhere. And it’s free.

          • esc@piefed.social
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            3
            ·
            7 小时前

            The solution is mentioned already - use vpn, it will solve 90% of the problems that you can encounter. Also you can serve multiple other services this way without exposing them.

        • Auli@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          2
          ·
          8 小时前

          It kind of does. Whatever and yes I’m aware of the list people keep posting and I’ve looked at it.