Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. How to secure Jellyfin hosted over the internet?

How to secure Jellyfin hosted over the internet?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
138 Posts 62 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B [email protected]

    I use fail2ban to ban IPs that fall to login and also IPs that perform common scans in the reverse proxy

    N This user is from outside of this forum
    N This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #12

    also have jellyfin disable the account after a number of failed logins.

    1 Reply Last reply
    0
    • paequ2@lemmy.todayP [email protected]

      if the cameras don’t load, open Tailscale and make sure it’s connected

      I've been using Tailscale for a few months now and this is my only complaint. On Android and macOS, the Tailscale client gets randomly killed. So it's an extra thing you have to manage.

      It's almost annoying enough to make me want to host my services on the actual internet....... almost... but not yet.

      dan@upvote.auD This user is from outside of this forum
      dan@upvote.auD This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #13

      Yeah I haven't been able to figure it out.

      1 Reply Last reply
      0
      • paequ2@lemmy.todayP [email protected]

        if the cameras don’t load, open Tailscale and make sure it’s connected

        I've been using Tailscale for a few months now and this is my only complaint. On Android and macOS, the Tailscale client gets randomly killed. So it's an extra thing you have to manage.

        It's almost annoying enough to make me want to host my services on the actual internet....... almost... but not yet.

        dan@upvote.auD This user is from outside of this forum
        dan@upvote.auD This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #14

        Yeah my wife and I are both on Android, and I haven't been able to figure out why it does that.

        The Android client is open-source so maybe someone could figure it out. https://github.com/tailscale/tailscale-android

        ladfrombrad@lemdro.idL 1 Reply Last reply
        0
        • B [email protected]

          Same, wireguard with the 'WG Tunnel" app, which adds conditional Auto-Connect. If not on home wifi, connect to the tunnel.

          dan@upvote.auD This user is from outside of this forum
          dan@upvote.auD This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #15

          conditional Auto-Connect. If not on home wifi, connect to the tunnel.

          You don't need this with Tailscale since it uses a separate IP range for the tunnel.

          B 1 Reply Last reply
          0
          • exu@feditown.comE [email protected]

            I think that breaks most clients

            S This user is from outside of this forum
            S This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #16

            Yes, it breaks native login, but you can authenticate with Authentik on your phone for example, and use Quick connect to authorize non-browser sessions with it.

            1 Reply Last reply
            0
            • B [email protected]

              Same, wireguard with the 'WG Tunnel" app, which adds conditional Auto-Connect. If not on home wifi, connect to the tunnel.

              L This user is from outside of this forum
              L This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #17

              I just stay connected to wireguard even at home, only downside is the odd time I need to chromecast, it needs to be shut off.

              D B B 3 Replies Last reply
              0
              • S [email protected]

                CloudFlare tunnel with Zero Trust, plus their bot and abuse blocking. Users can get in with the right oauth, plus only allowed from the countries I know they're in. Then just their username and password on jellyfin.

                D This user is from outside of this forum
                D This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #18

                Doesn't streaming media over a cloudflare tunnel/proxy violate their ToS

                dave@lemmy.nzD S 2 Replies Last reply
                0
                • paequ2@lemmy.todayP [email protected]

                  I suspect that it goes down and stays down whenever there is an app update, but I haven't confirmed it yet.

                  Does the plain wireguard app stay up during updates?

                  L This user is from outside of this forum
                  L This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #19

                  Android wireguard all hasn't been updated in 18mo. Its extremely simple with a small code base. There basically isn't anything to update. It uses wireguard kernel module which is itself is only like 700 lines of code. It so simple that it basically became stable very quickly and there is nothing left of update right now.

                  https://git.zx2c4.com/wireguard-android/about/

                  1 Reply Last reply
                  0
                  • S [email protected]

                    CloudFlare tunnel with Zero Trust, plus their bot and abuse blocking. Users can get in with the right oauth, plus only allowed from the countries I know they're in. Then just their username and password on jellyfin.

                    F This user is from outside of this forum
                    F This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #20

                    I hate the cloudflare stuff making me do captchas or outright denying me with a burning passion. My fault for committing the heinous crime of using a VPN!

                    S 1 Reply Last reply
                    0
                    • lambda@programming.devL [email protected]

                      I already host multiple services via caddy as my reverse proxy. Jellyfin, I am worried about authentication. How do you secure it?

                      mubelotix@jlai.luM This user is from outside of this forum
                      mubelotix@jlai.luM This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #21

                      Jellyfin is secure by default, as long as you have https. Just chose a secure password

                      D 1 Reply Last reply
                      0
                      • D [email protected]

                        Doesn't streaming media over a cloudflare tunnel/proxy violate their ToS

                        dave@lemmy.nzD This user is from outside of this forum
                        dave@lemmy.nzD This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #22

                        No, they removed that clause some 2 or 3 years back.

                        1 Reply Last reply
                        0
                        • dan@upvote.auD [email protected]

                          Yeah my wife and I are both on Android, and I haven't been able to figure out why it does that.

                          The Android client is open-source so maybe someone could figure it out. https://github.com/tailscale/tailscale-android

                          ladfrombrad@lemdro.idL This user is from outside of this forum
                          ladfrombrad@lemdro.idL This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #23

                          It loses its foreground notification I've found that kills it for me even thou the Quick Toggle and the app itself, shows as running

                          If I disconnect/reconnect the notification comes back, and I've found something even more weird on my device (A Xiaomi with its infamous OOM / background app killer....) is Tailscale still actually works fine most of the time without the foreground notification. I'm hazarding a 70% of the time for me?

                          A lot of us a while back found v1.5.2 fugged around with the persistent notification going RIP

                          https://github.com/tailscale/tailscale/issues/10104

                          L 3 Replies Last reply
                          0
                          • lambda@programming.devL [email protected]

                            I already host multiple services via caddy as my reverse proxy. Jellyfin, I am worried about authentication. How do you secure it?

                            S This user is from outside of this forum
                            S This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #24

                            My setup:

                            • Locally (all in docker)
                              ** JF for managing and local access
                              ** JF with read only mounted volumes that uses the network of my Wireguard client container
                              ** Wireguard client opening a tunnel to Wireguard server on VPS
                              ** Ping container regularly doing pings to Wireguard Server so the connection stays up (didn't manage it otherwise)
                            • VPS (Oracle Cloud free tier)
                              ** Caddy as a reverse proxy with https enabled and geolocking (only certain countries are allowed to connect to)
                              ** fail2ban to block IPs that try to bruteforce credentials
                              ** Wireguard server

                            So my clients just get the URL of my reverse proxy and can access the read only JF through my Wireguard tunnel. Didn't have to open any ports on my side. If someone is interested I can share the docker compose files later.

                            carlosspicywiener@lemmy.worldC lambda@programming.devL E 3 Replies Last reply
                            0
                            • S [email protected]

                              My setup:

                              • Locally (all in docker)
                                ** JF for managing and local access
                                ** JF with read only mounted volumes that uses the network of my Wireguard client container
                                ** Wireguard client opening a tunnel to Wireguard server on VPS
                                ** Ping container regularly doing pings to Wireguard Server so the connection stays up (didn't manage it otherwise)
                              • VPS (Oracle Cloud free tier)
                                ** Caddy as a reverse proxy with https enabled and geolocking (only certain countries are allowed to connect to)
                                ** fail2ban to block IPs that try to bruteforce credentials
                                ** Wireguard server

                              So my clients just get the URL of my reverse proxy and can access the read only JF through my Wireguard tunnel. Didn't have to open any ports on my side. If someone is interested I can share the docker compose files later.

                              carlosspicywiener@lemmy.worldC This user is from outside of this forum
                              carlosspicywiener@lemmy.worldC This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #25

                              I am interested in your docker compose

                              S 2 Replies Last reply
                              0
                              • mubelotix@jlai.luM [email protected]

                                Jellyfin is secure by default, as long as you have https. Just chose a secure password

                                D This user is from outside of this forum
                                D This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #26

                                No, it isn't.

                                mubelotix@jlai.luM F L ? 4 Replies Last reply
                                0
                                • D [email protected]

                                  No, it isn't.

                                  mubelotix@jlai.luM This user is from outside of this forum
                                  mubelotix@jlai.luM This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #27

                                  Wtf. Thank you

                                  1 Reply Last reply
                                  0
                                  • L [email protected]

                                    I just stay connected to wireguard even at home, only downside is the odd time I need to chromecast, it needs to be shut off.

                                    D This user is from outside of this forum
                                    D This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #28

                                    Oh shit, you may have just solved my only issue with Symfonium

                                    1 Reply Last reply
                                    0
                                    • D [email protected]

                                      No, it isn't.

                                      F This user is from outside of this forum
                                      F This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #29

                                      Some of these are bonkers. The argument not to fix them because of backwards compatibility is even wilder. Which normal client would need the ability to get data for any other account that it hasn't the Auth token for.

                                      S 1 Reply Last reply
                                      0
                                      • carlosspicywiener@lemmy.worldC [email protected]

                                        I am interested in your docker compose

                                        S This user is from outside of this forum
                                        S This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #30

                                        Will share this evening after work.

                                        1 Reply Last reply
                                        0
                                        • paequ2@lemmy.todayP [email protected]

                                          if the cameras don’t load, open Tailscale and make sure it’s connected

                                          I've been using Tailscale for a few months now and this is my only complaint. On Android and macOS, the Tailscale client gets randomly killed. So it's an extra thing you have to manage.

                                          It's almost annoying enough to make me want to host my services on the actual internet....... almost... but not yet.

                                          loutr@sh.itjust.worksL This user is from outside of this forum
                                          loutr@sh.itjust.worksL This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #31

                                          Look up your phone on dontkillmyapp.com and make sure tailscale is excluded from battery and network "optimization".

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups