• @ramble81@lemmy.zip
          link
          fedilink
          English
          2426 days ago

          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
            4626 days ago

            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.

          • @douglasg14b@lemmy.world
            link
            fedilink
            English
            11
            edit-2
            26 days ago

            Oh yes, the routers and gateways that most people have that are isp provided that may not actually have open VPN or wireguard support.

            Those ones?

            Also putting a VPN in someone else’s house so that all their Network traffic goes through your gateway is pretty damn extreme.

            • @ramble81@lemmy.zip
              link
              fedilink
              English
              -226 days ago

              What? No, you can do a tiny reverse proxy/vpn on a stick with something like a RPi. Configure it and give it to them. Then they point their Jellyfin client on their device to the IP of the RPi instance on their network and that creates the tunnel back to your VPN endpoint and server.

              And for VPNs at a router level you can inject routes and leave th default route going out through your ISP, you don’t need to, nor want to, have all traffic going through it.

      • tiz
        link
        fedilink
        English
        926 days ago

        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
          3126 days ago

          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
            426 days ago

            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
              226 days ago

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

              • @PeriodicallyPedantic@lemmy.ca
                link
                fedilink
                English
                225 days ago

                I think that’s one of the major reasons to use pangolin over something like nginx - built in auth and support for oidc.

                Of course, the native jellyfin apps don’t like the auth layer so idk if it helps if you’re trying to install it on your dad’s tv

          • tiz
            link
            fedilink
            English
            426 days ago

            I see thanks. I’ll think about it more.

          • @WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            125 days ago

            well, at least you are not depending on the application to do TLS properly, and you may be able to set up some access restrictions that your clients may support

        • r00ty
          link
          fedilink
          1326 days ago

          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
          3
          edit-2
          26 days ago

          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.