this post was submitted on 25 Apr 2025
39 points (95.3% liked)

Selfhosted

46290 readers
473 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.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi folks. So, I know due to a myriad of reasons I should not allow Jellyfin access to the open internet. However, in trying to switch family over from Plex, I'll need something that "just works".

How are people solving this problem? I've thought about a few solutions, like whitelisting ips (which can change of course), or setting up VPN or tail scale (but then that is more work than they will be willing to do on their side). I can even add some level of auth into my reverse proxy, but that would break Jellyfin clients.

Wondering what others have thought about for this problem

you are viewing a single comment's thread
view the rest of the comments
[–] Codilingus@sh.itjust.works 2 points 12 hours ago (1 children)

Reverse proxy with CrowdSec, which has setups specifically for Jellyfin. Docker for everything.

[–] scrubbles@poptalk.scrubbles.tech 2 points 12 hours ago (2 children)

Now that's interesting, what is the purpose of the reverse proxy, don't you still need something exposed then?

[–] synestine@sh.itjust.works 4 points 6 hours ago

The reverse proxy is the part that's exposed. CrowdSec watches the logs for intrusion attempts like fail2ban would.

[–] airgapped@piefed.social 3 points 6 hours ago (1 children)

A reverse proxy saves you from having to expose your services directly and acts as a go-between.

Internet <--> Reverse Proxy <--> Service

[–] scrubbles@poptalk.scrubbles.tech 3 points 6 hours ago (3 children)

Right, but what exactly does the reverse proxy do to stop intrusion?

[–] possiblylinux127@lemmy.zip 1 points 1 hour ago

It protects against vulnerabilities in layer 3 of the OSI model. It is the thing that gets hit from the outside while the back end is hidden away. This makes some attacks much harder.

[–] Codilingus@sh.itjust.works 2 points 3 hours ago (1 children)

Think of it as more modular.

I personally used Traefik, but only because I'm a masochist and it would be useful to know in IT workplace.

Traefik + CrowdSec + CowdSec Traefik Bouncer.

Traefik handles the traffic, and said traffic has to get a green light from CrowdSec + Bouncer before it can go anywhere.

The concept of CrowdSec is honestly super awesome.

[–] possiblylinux127@lemmy.zip 2 points 1 hour ago (1 children)

Is Taefik really that good? It seems crazy complex

[–] Codilingus@sh.itjust.works 1 points 13 minutes ago

It's designed to scale. Plus it's nifty to be able to add ~3 tags to a docker container and then it's instantly online and ready to be used.

[–] Jakeroxs@sh.itjust.works 2 points 4 hours ago (1 children)

Crowdsec is what stops the intrusion.

[–] possiblylinux127@lemmy.zip 1 points 1 hour ago

Crowdsec won't protect against a security vulnerability