170

Assuming the user will not be connecting over vpn, but is both remote and non-technical, how would you expose Jellyfin to them securely?

top 50 comments
sorted by: hot top controversial new old
[-] PeriodicallyPedantic@lemmy.ca 1 points 29 minutes ago

I'm kinda disappointed with this thread, I'm in a similar position to OP, but all the responses are just like "use a reverse proxy and make your URL hard to guess" and other measures which are not very secure. \

It seems like that's about as good as you can get at the moment, because the mobile apps barf if you try to add in auth in front of the reverse proxy, but a lot of people seem to be providing this advice like it's good enough rather than as good as you can get.

[-] Evotech@lemmy.world 1 points 2 hours ago

Cloudflare. Just make sure to disable caching

[-] PeriodicallyPedantic@lemmy.ca 1 points 1 hour ago

How do you get the mobile app to connect?

[-] Evotech@lemmy.world 1 points 1 hour ago* (last edited 1 hour ago)

I just type the URL

I have Cloudflare set up without Auth. Just region locked to my country

So it's just a solid reverse proxy with a bunch of features and an added layer with white listing.

I know whitelisting isn't security per say but it's good enough

[-] PeriodicallyPedantic@lemmy.ca 1 points 37 minutes ago

Idk if geo whitelisting is really good enough. I can't speak for OP, but I'm in the same position and I don't. I had high hopes for the post but everyone seems to just brush over the "secure" part

[-] Evotech@lemmy.world 1 points 23 minutes ago

What are you afraid of?

My jellyfin runs in a a rootless podman container

[-] PieMePlenty@lemmy.world 2 points 2 hours ago

My use cases are:

  • Connect from multiple devices on the same home network (with the application)
  • Connect from a phone device on the internet (with the application)
  • Connect from some PC's and devices on the internet (with the application and from web browser)

For home networked devices, I don't care about security that much. I try to lock it down on the router level and by using VLANs for less secure devices. I connect via IP directly (or .local domain).

Jellyfin runs under its own user with read access to a media library.

For devices on the internet, I have jellyfin exposed on a specific url path of my domain - through a reverse proxy all through 443. A bit of security through obscurity here. I'm proxied through cloudflare on the DNS side with very restrictive IP rules.
I think this is enough for the security flaws jellyfin does have. I'd sleep better at night if it had client certificate support, but Its not a big deal imo. If security flaws allowing remote code execution are found, I'll shut it down and allow access through wireguard only and lose access from some devices on the internet where I cant use VPNs. Not a bit deal either.

[-] nibbler@discuss.tchncs.de 3 points 5 hours ago* (last edited 5 hours ago)

If client certificates and basic auth is not supported by jellyfin:

  • reverse proxy
  • strong random subdomain
  • wildcard certificate
  • tls1.3 only
  • doh/dot only

1-3 make random scanners unable to find your service, 4&5 even hide it from your ISP. Dot/doh service will still know your subdomain, so be your own dot/doh ! :D

[-] Jason2357@lemmy.ca 1 points 1 hour ago

I'm no expert, but an unguessible URL path is similar but not visible to DNS. Could do both.

[-] azureskypirate@lemmy.zip 2 points 7 hours ago

As others have mentioned, a reverse proxy, like nginx or caddy. These are web servers, so you need to configure it or an app that runs in it. May I shill: Nginx Proxy Manager (NPM).

[-] quips@slrpnk.net 8 points 12 hours ago

A reverse proxy is what you are looking for. I recommend Caddy.

You’ll also need a domain, but they can be had for very cheap.

[-] anon_8675309@lemmy.world 11 points 13 hours ago

Another way:

Expose using caddy. Use basic auth for the web UI only. This exempts the Jellyfin app clients from basic auth that they don’t support but requires it before anyone even gets to the Jellyfin UI. This obfuscates the fact that your endpoint is even a Jellyfin end point.

[-] Stiggyman@ani.social 2 points 5 hours ago

How can I do that? I'd love to have better security for my jellyfin but I risk breaking the apps.

[-] rumba@lemmy.zip 16 points 18 hours ago

Run the jellyfin in a container that only has read privileges to the videos ( make sure you can't get out to your whole NAS from there), put that behind a Cloudflaired tunnel.

It's not technically secure, but if they can't get a foothold in your network and the only thing they can access is your video catalog, that's a reasonable amount of risk.

[-] Evotech@lemmy.world 1 points 2 hours ago

Just make sure you disable caching or it can be a bit slow

[-] Bazoogle@lemmy.world 10 points 14 hours ago

Gotta be careful with cloudflared and media. They can block you if they detect copyrighted materials, even if it's your own DVDs. You can setup TLS certs so the traffic is at least encrypted

[-] Megumin@lemmy.world 5 points 12 hours ago

If your American, ripping your own DVD's still isn't legal.

[-] Bazoogle@lemmy.world 3 points 10 hours ago

Right. Which is why Cloudflared would block you if it's detected. But regardless, if for whatever reason, you ended up in court for the content you copied, the judge would probably give you a low fine. Obviously not legal advice, but the US justice system doesn't have time to care about people making digital copies of DVDs they've purchased.

It's irrelevant anyway, since none of us are just copying our own DVDs... But for legal reasons /s

[-] zaggynl@feddit.nl 8 points 19 hours ago

Ask them to visit https://ipv4.icanhazip.com/ and give you back the number, then whitelist in your webserver, as well as your LAN/VPN range, deny rest. Explain they can only reach jellyfin from their home internet. Repeat if they get 403 forbidden after they get a new WAN IP.

That or VPN like openziti, wireguard but gets more complicated.

[-] axx@slrpnk.net 3 points 2 hours ago

You really can't assume your visitors are going to have static IPs.

What happens when they visit from their phone? A friend's WiFi? Their home connection that has a regularly changing IP?

[-] floral_toxicity@lemmy.world 3 points 6 hours ago

https://www.moanmyip.com/

It's exactly what it sounds like.

[-] hereiamagain@sh.itjust.works 3 points 8 hours ago

This is solid. I wonder if you could rig up a ddns somehow to keep it seamless?

[-] KarnaSubarna@lemmy.ml 5 points 17 hours ago
[-] ripcord@lemmy.world 13 points 16 hours ago
load more comments (1 replies)
[-] Clutter@sh.itjust.works 5 points 18 hours ago

Perhaps (and I know I might be weird) running pangolin on something like hetzner? (Which I do)

[-] MonkderVierte@lemmy.zip 1 points 1 hour ago
[-] BandDad@lemmy.zip 8 points 22 hours ago

If anyone has any tips for getting Tailscale running via Docker on my Openmediavault machine, I'm open to it. Everyone lauds it for being dead simple and I cannot for the life of me get it running on the machine it needs to be. Not sure my wife can/will handle anything more complicated.

load more comments
view more: next ›
this post was submitted on 23 May 2026
170 points (100.0% liked)

Selfhosted

59425 readers
1068 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 3 years ago
MODERATORS