this post was submitted on 01 Apr 2026
657 points (99.0% liked)

Selfhosted

58291 readers
451 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] esc@piefed.social 163 points 5 days ago (27 children)

Don't expose jellyfin to the internet is a golden rule.

[–] Damarus@feddit.org 111 points 5 days ago (2 children)

Kinda defeats the purpose of a media server built to be used by multiple people

[–] InnerScientist@lemmy.world 55 points 5 days ago (2 children)

Use a VPN, it's not ideal but it's secure.

[–] faercol@lemmy.blahaj.zone 39 points 5 days ago (1 children)

Somehow difficult to install on a TV though.

[–] ramble81@lemmy.zip 26 points 5 days ago (2 children)

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 43 points 5 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 10 points 5 days ago* (last edited 5 days ago) (1 children)

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.

load more comments (1 replies)
load more comments (1 replies)
[–] CompactFlax@discuss.tchncs.de 68 points 5 days ago* (last edited 5 days ago) (23 children)

That’s never made sense to me; why build an authn frontend instead of just clicking your user if the security is just an illusion anyways. “Use a VPN” is fine for a mainframe, but an active project in 2026 should aspire to be better.

Edit: or make note of that on their several pages with reverse proxy configuration.

Examples dating back over six years https://github.com/jellyfin/jellyfin/issues/5415

[–] AHemlocksLie@lemmy.zip 36 points 5 days ago

I mean I'm sure they'd like to just ship safe code in the first place. But if that's not their expertise and they demonstrate that repeatedly, we gotta take steps ourselves. Secure is obviously best, but I'd rather have insecure Jellyfin behind a VPN than no Jellyfin at all.

[–] IratePirate@feddit.org 26 points 5 days ago* (last edited 5 days ago) (1 children)

It's not this or that. Security comes in layers. So while I would assume that the Jellyfin developers do their best to secure their application, I acknowledge the fact that bugs do exist and that Jellyfin is developed in and for hobbyist contexts, and thus not scrutinised and pentested for vulnerabilities in the way software meant for professional environments would be. Therefore I'll add an extra layer of security by putting it behind a VPN that only whitelisted clients can access. If a vulnerability is detected, I can be sure it hasn't already been exploited to compromise my server because we're all "among friends" there.

load more comments (1 replies)
[–] WhyJiffie@sh.itjust.works 5 points 4 days ago

there is just too much place in the codebase for vulnerabilities, and also, most projects like this are maintained by volunteers in their free time for free.

I guess if you set up an IP whitelist in the reverse proxy, or a client TLS certificate requirement, it's fine to open it to the internet, but otherwise no.

[–] teawrecks@sopuli.xyz 5 points 5 days ago* (last edited 5 days ago) (3 children)

If I say I custom rolled my own crypto and it's designed to be deployed to the open web, and you inspect it and don't see anything wrong, should you do it?

Jellyfin is young and still in heavy development. As time goes on, more eyes have seen it, and it's been battle hardened, the security naturally gets stronger and the risk lower. I don't agree that no one should ever host a public jellyfin server for all time, but for right now, it should be clear that you're assuming obvious risk.

Technically there's no real problem here. Just like with any vulnerability in any service that's exposed in some way, as long as you update right now you're (probably) fine. I just don't want staying on top of it to be a full time job, so I limit my attack surface by using a VPN.

[–] CompactFlax@discuss.tchncs.de 4 points 5 days ago (1 children)

Young.

The original ticket is 2019. That’s 7 years ago.

Technically there's no real problem here.

It responds to and serves content to unauthenticated requests. That’s sorta table stakes if you’re creating an authenticated web service and providing guides to set it up with a reverse proxy.

load more comments (1 replies)
load more comments (2 replies)
load more comments (19 replies)
[–] atzanteol@sh.itjust.works 15 points 5 days ago* (last edited 5 days ago) (2 children)

Y'all are assuming the security issue is something exploitable without authentication or has something to do with auth.

But it it could be a supply chain issue which a VPN won't protect you from.

[–] WhyJiffie@sh.itjust.works 4 points 4 days ago (1 children)

to be fair, Jellyfin had multiple unauthenticated vulnerabilities in the past so it makes sense to talk about it

load more comments (1 replies)
load more comments (1 replies)
[–] LycaKnight 14 points 5 days ago (1 children)

Yeah, i have my 30 docker containers behind Headscale (Tailscale).

[–] pfr@piefed.social 8 points 5 days ago

NetBird is coming for you

[–] Lemmchen@feddit.org 8 points 5 days ago (2 children)

The thing is, if you have non-technical users, you have to set up the VPN connection on the client site yourself, maybe on multiple machines and more than once, if they decide to upgrade or even just reset their devices.

[–] esc@piefed.social 18 points 5 days ago* (last edited 5 days ago) (2 children)

The problem here - it's not me who requires access to my library, if someone isn't willing or able to do it, I'm sorry but that's just how it is. People should stop infantilize non-technical people, absolute majority of them is capable of navigating our world without much problems and I'm willing to help them if help is asked.

If my 60 y.o. mother with close to zero technical skills can do it with limited help (due to distance and other constraints) I'm pretty sure that majority of people with sound mind can.

[–] Lemmchen@feddit.org 8 points 5 days ago (5 children)

Or you can not be arrogant towards your friends and family who have probably helped you on lots of occasions and will probably keep being there for you in the future.
Idk man, unconditional sharing feels pretty good, tbh. Making them jump through hoops isn't really my jam. To me this kinda all plays into making a stronger bond with people that are close to me, so maybe we have different reasons for why we are sharing our stuff.

Inb4 "we are not the same" meme

[–] esc@piefed.social 4 points 5 days ago

I'm not arrogant, just don't assume that people are dumb and inept. If they can't or don't want to give a bit of time to setup it, well how can someone be forced to use free service that causes momentarily inconvenience once to use. 😔

load more comments (4 replies)
[–] IratePirate@feddit.org 6 points 5 days ago* (last edited 5 days ago)

This. And for everyone you just can't figure it out on their own, there's RustDesk for remote assistance. It, too, can be self-hosted.

[–] DreamlandLividity@lemmy.world 8 points 5 days ago* (last edited 5 days ago) (4 children)

So use a reverse proxy with authentiacation before access to Jellyfin is allowed. I use Caddy forward_auth with Authelia for this. Unless you also want to use the apps without VPN, this works great.

load more comments (4 replies)
[–] ligma_centauri@lemmy.world 1 points 3 days ago

Just did a cursory read of the commits related to security for this release, and my assumpion based solely on the changes, is that it's not a remote-access vulnerability, but a supply-chain-esque vulnerability where a video you downloaded from a questionable source might trigger code embedded in the metadata to be run by jellyfin.

[–] quick_snail@feddit.nl 3 points 4 days ago

If only they would fix the htaccess bug

load more comments (20 replies)