• Dagnet@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    10 months ago

    What is the easy way to share jellyfin over the internet? Portforwarding doesn’t work for me cause I don’t have a static ip address

    EDIT: I thank all the answers but none of them seem actually easy

    • m-p{3}@lemmy.ca
      link
      fedilink
      English
      arrow-up
      13
      ·
      10 months ago

      I just use a free dynamic DNS provider (ie: DuckDNS), and most home routers are able to publish IP address changes to that DNS, otherwise you just need a small software to publish those change, which you can do ok the server hosting Jellyfin.

      • Dagnet@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 months ago

        Someone already suggested that but it seems to be missing a step, still need something to direct to the port I have for jellyfin?

        • m-p{3}@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 months ago

          You’ll also need to do some port forwarding at the home router level so that external users can reach the server.

          You’ll preferably want to do what’s called a DHCP reservation so that your server’s internal IP address remains the same, then do a port forward from your public port 8096 to internalIP:8096. That way, you just have to point someone outside of your network to hostname.duckdns.org:8096 (which will get resolved to your current public IP address) for your Jellyfin server.

            • m-p{3}@lemmy.ca
              link
              fedilink
              English
              arrow-up
              3
              ·
              10 months ago

              you’ll need to have your own hostname and make it point to your home IP address, just in case it wasn’t clear enough

              • YIj54yALOJxEsY20eU@lemm.ee
                link
                fedilink
                English
                arrow-up
                3
                ·
                10 months ago

                It’s good you are trying to help but I’m not sure someone copying and pasting whatever they read should have a port exposed to the Internet.

      • CalicoJack@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        10 months ago

        You don’t even need to purchase a domain, free dynDNS services (DuckDNS or similar) are good enough for Jellyfin and the like.

        • BaroqueInMind@lemmy.one
          link
          fedilink
          English
          arrow-up
          15
          arrow-down
          1
          ·
          edit-2
          10 months ago

          Free services always have some kind of dubious hidden product they are selling elsewhere about you to someone else, because network hardware is not free, network system maintenance is not free, internet access is not free. Facebook is free, yet we all know what it’s true cost is.

          • NotSteve_@lemmy.ca
            link
            fedilink
            English
            arrow-up
            3
            ·
            10 months ago

            DuckDNS is run by two guys who are funded by donations. I do agree with what you’re saying about free services but I’m more willing to trust DuckDNS in this case

    • nickiam2@aussie.zone
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      10 months ago

      The easiest way is to setup tailscale on the server, then share the server with the web interface. Your friends/family simply install the tailscale client, login, and it just connects like magic. No port forwarding or firewall configuration required. There’s plenty of how-tos out there.

      tailscale.com

    • gears@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      edit-2
      10 months ago

      I wouldn’t bother with a paid dynamic DNS. Most domain registrars let you change your DNS record with an API call (I know GoDaddy does because I use them.)

      Then you just set up a cron job to fetch your IP and then change your DNS record to match. I use a subdomain because my main domain hosts a blog and some other stuff on a VPS, while my jellyfin server is at home.

      A good search would be “[registrar name] dynamic DNS script”

    • mhz@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      10 months ago

      Ddns is your answer, check your router and see what it can support or just go with whatever you feel good for you and install their updater on your server.

    • nolight@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I’ve set up a cloudflare tunnel, all you need is a domain. It forwards my local Jellyfin instance to the public web, and is easy to get started with. I’m not sure how secure it is though, so I would appreciate any advice from more enlightened pirates.

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Doesnt matter if you have dynamic or static.
      But it will matter once CG-NAT comes into play.

      Sincerely a dynamic IP jellyfin user with a reverse proxy.

    • MigratingtoLemmy@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Run a VPS as a VPN server with ports forwarded. Run a VPN client on your router to forward Internet facing traffic from Jellyfin to said VPN tunnel. Essentially, open ports on the VPS instead of your own router. This is conceptually similar to Cloudflare tunnels.