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 also have a different subnet for WG. Not sure I understand what you're saying...

    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
    #80

    If you have a separate subnet for it, then why do you only want it to be connected when you're not on home wifi? You can just leave it connected all the time since it won't interfere with accessing anything outside that subnet.

    That's assuming you're not routing all your traffic through it.

    B 1 Reply Last reply
    0
    • ? Guest

      Have you tried disabling battery optimization for tailscale?

      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
      #81

      I did this and it still seems to randomly disconnect.

      1 Reply Last reply
      0
      • 0 [email protected]

        Maybe headscale will do better?

        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
        #82

        Headscale is a replacement for the coordination servers, which are only used to distribute configs and help nodes find each other. It won't change client-side behaviour.

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

          If you have a separate subnet for it, then why do you only want it to be connected when you're not on home wifi? You can just leave it connected all the time since it won't interfere with accessing anything outside that subnet.

          That's assuming you're not routing all your traffic through it.

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

          My network is not publicly accessible. I can only access the internal services while connected to my VPN or when I'm physically at home. I connect to WG to use the local DNS (pihole) or to access the selfhosted stuff. I don't need to be connected while I'm at home... In a way, I am always using the home DNS.

          Maybe I'm misunderstanding what you're saying...

          L 1 Reply Last reply
          0
          • B [email protected]

            If you make Tailscale your VPN in Android it will never be killed. Mileage may vary depending on flavor of Android. I've used this on stock Pixel and GrapheneOS.

            Under Settings > Network and internet > VPN

            Tap the Cog icon next to Tailscale and select Always-on VPN.

            paequ2@lemmy.todayP This user is from outside of this forum
            paequ2@lemmy.todayP This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #84

            Holy moly, I did not know this existed! Thanks! Just turned this on!

            1 Reply Last reply
            0
            • jagged_circle@feddit.nlJ [email protected]

              I have another site on a different port that sits behind basic auth and adds the IP to a short ipset whitelist.

              So first I have to auth into that site with basic auth, then I load jellyfin on the other port.

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

              I don't understand how that isn't widely deployed. I call it poor man's Zero Trust.

              jagged_circle@feddit.nlJ 1 Reply Last reply
              0
              • B [email protected]

                Can you add a split tunnel for just the Chromecast app (I presume that's how it works idk I don't use Chromecast) so that just that specific app always ignores your VPN?

                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
                #86

                I haven't tried it, but the app has the ability to select which app it tunnels.

                When you make a new tunnel, it says "all applications" if you click on that you can select specific ones to include or exclude

                1 Reply Last reply
                0
                • B [email protected]

                  My network is not publicly accessible. I can only access the internal services while connected to my VPN or when I'm physically at home. I connect to WG to use the local DNS (pihole) or to access the selfhosted stuff. I don't need to be connected while I'm at home... In a way, I am always using the home DNS.

                  Maybe I'm misunderstanding what you're saying...

                  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
                  #87

                  He's saying that while there is no benefit to being connect to WG at home, there is also no downside so many people just stay connected all the time.

                  dan@upvote.auD B 2 Replies Last reply
                  0
                  • E [email protected]

                    This seems like a developer/infrastructure level job, any dumb down step by step procedure to recommend?

                    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
                    #88

                    https://codeberg.org/skjalli/jellyfin-vps-setup here you go, took me longer than expected and I hope it's helpful, might contain a few errors since I had to remove some settings but I guess this should work.

                    E 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
                      #89

                      https://codeberg.org/skjalli/jellyfin-vps-setup here you go, took me longer than expected and I hope it's helpful, might contain a few errors since I had to remove some settings but I guess this should work.

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

                        https://codeberg.org/skjalli/jellyfin-vps-setup here you go, took me longer than expected and I hope it's helpful, might contain a few errors since I had to remove some settings but I guess this should work.

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

                        Thank you! Impressive documentation work, looks like I have to learn docker first.

                        S 1 Reply Last reply
                        0
                        • L [email protected]

                          He's saying that while there is no benefit to being connect to WG at home, there is also no downside so many people just stay connected all the time.

                          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
                          #91

                          Yeah, this. Plus if you leave it connected, you can use the VPN IPs while at home instead of having to use a different IP when at home vs when out (or deal with split horizon DNS)

                          1 Reply Last reply
                          0
                          • L [email protected]

                            He's saying that while there is no benefit to being connect to WG at home, there is also no downside so many people just stay connected all the time.

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

                            Oh, I get that, but it just doesn't make any sense to me to be physically next to the server, and connect to it via VPN...

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

                              URL is 404

                              ? Offline
                              ? Offline
                              Guest
                              wrote on last edited by
                              #93

                              It's not, though?

                              1 Reply Last reply
                              0
                              • jagged_circle@feddit.nlJ [email protected]

                                URL is 404

                                ? Offline
                                ? Offline
                                Guest
                                wrote on last edited by
                                #94

                                remove the brace at the end

                                1 Reply Last reply
                                0
                                • E [email protected]

                                  Thank you! Impressive documentation work, looks like I have to learn docker first.

                                  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
                                  #95

                                  It's a steep learning curve for sure but once you get the basics it's straight forward until you hit very specific problems.

                                  Are you a Windows or Linux user?
                                  They often want to push their Docker UI application but in my opinion docker engine with docker compose is enough. There are probably a lot of great tutorials out there and I can recommend https://www.linuxserver.io/ for images.

                                  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?

                                    kingthrillgore@lemmy.mlK This user is from outside of this forum
                                    kingthrillgore@lemmy.mlK This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #96

                                    Use a VPN like Tailscale

                                    1 Reply Last reply
                                    0
                                    • ? Guest

                                      I use Pangolin (https://github.com/fosrl/pangolin)

                                      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
                                      #97

                                      I was thinking of setting this up recntly after seeing it on Jim's garage. Do you use it for all your external services or just jellyfin? How does it compare to a fairly robust WAF like bunkerweb?

                                      ? 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?

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

                                        I am using tailscale but I went a little further to let my family log in with their Gmail( they will not make any account for 1 million dollars)

                                        Tailscale funneled
                                        Jellyfin
                                        Keycloak (adminless)

                                        Private Tailscale
                                        Keycloak admin
                                        Postgres dB

                                        I hook up jellyfin to Keycloak (adminless) using the sso plugin. And hook Keycloak up (using the private instance) to use Google as an identity provider with a private app.

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

                                          I was thinking of setting this up recntly after seeing it on Jim's garage. Do you use it for all your external services or just jellyfin? How does it compare to a fairly robust WAF like bunkerweb?

                                          ? Offline
                                          ? Offline
                                          Guest
                                          wrote on last edited by
                                          #99

                                          I use it for all of my external services. It's just wireguard and traefik under the hood. I have no familiarity with bunkerweb, but pangolin integrates with crowdsec. Specifically it comes out of the box with traefik bouncer, but it is relatively straightforward to add the crowdsec firewall bouncer on the host machine which I have found to be adequate for my needs.

                                          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