Assuming the user will not be connecting over vpn, but is both remote and non-technical, how would you expose Jellyfin to them securely?

  • kcweller@feddit.nl
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 days ago

    Set up a reverse proxy with https always on. And get a good (physical) firewall, preferably something akin to opnsense, pfsense, openwrt. Exposing is always a risk, and if you do want it, you have to bear the responsibility for your own security. Keep things up to date, set up monitoring and a good logging system (Wazuh) comes to mind.

    Exposure means a security risk. How you deal with that security risk is your choice.

    Cloudflare and the likes forbid usage of their stuff for these things.

    • syaochan@feddit.it
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 days ago

      How does a reverse proxy helps for security? I mean, the problem here is that exposing Jellyfin on the internet is dangerous: the only way to improve security via a reverse proxy would be mTLS, but I’m not sure how it would work client side.

      • kcweller@feddit.nl
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 days ago

        By setting up a reverse proxy you redirect the traffic through that specific proxy which means less open ports (basically just 80/443), less monitoring, the ability to easily put a WAF inbetween, etc.

        • nibbler@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 days ago

          Ports are closed by firewalls, and if you need to port forward on your home router this is a non-issue anyway

      • Flatfire@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        7 days ago

        You’ve got a couple benefits. If you have a domain name, and aren’t advertising it publicly, then you can use the reverse proxy to point that domain to a non-standard port that Jellyfin runs on.

        Security through obscurity is not good security, but it does prevent the majority of port scanning attacks. You can also use fail2ban on the reverse proxy side to try and mitigate some attacks.

    • Agent641@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      7 days ago

      Cloudflare and the likes forbid usage of their stuff for these things.

      😬

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 days ago

      Cf used to have it against the rules, but it’s fine now.

      edit: you can in fact do video, but they have added lines about ~piracy

        • rumba@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Just re-read to make sure, they def changes the non-html to allow it, but they do def have non-pirate terms in there

          end to end encryption with your own key on their tunnel might be a good idea (which is allowed)