this post was submitted on 26 Jun 2025
449 points (98.1% liked)

Selfhosted

48696 readers
1308 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
 

What’s your go too (secure) method for casting over the internet with a Jellyfin server.

I’m wondering what to use and I’m pretty beginner at this

top 50 comments
sorted by: hot top controversial new old
[–] Player2@lemm.ee 3 points 52 minutes ago (1 children)

For now just Tailscale but I'm working on setting up a reverse proxy and SSO through Authentik

[–] derpgon@programming.dev 1 points 9 minutes ago* (last edited 8 minutes ago)

Even more secure is having a VPS and self hosting Heascale, even better is Wireguard

[–] status6@lemmy.world 1 points 40 minutes ago

I use mTLS by adding a reverse proxy between Jellyfin and the Inet. This makes it hard to use the app, but works perfect with a browser. If you still want to use the app. There is a solution by using stunnel (termux) between te app and the Inet or better, a wireguard VPN.

[–] Netrunner@programming.dev 4 points 5 hours ago (1 children)

Sad that mTLS support is non existent because it solves this problem.

[–] rumba@lemmy.zip 1 points 31 minutes ago

It would cover all phones, pcs and maybe Android TVs.

The barrier to entry would be having to replace the cert every year since we now made that a thing. Maybe spin up a self-sign shirt server and start issuing people 10 years certs

[–] burgerchurgarr@lemmus.org 35 points 12 hours ago (3 children)

I just expose my local machine to the internet, unsecured

[–] Mongostein@lemmy.ca 1 points 1 hour ago* (last edited 1 hour ago) (1 children)

Yea same I don’t even care.

It’s an old laptop, I have a backup. Go ahead, fuck it up.

[–] spicehoarder@lemm.ee 1 points 14 minutes ago

Do you at least have it on a VLAN?

[–] donalonzo@lemmy.world 3 points 4 hours ago

This is absolutely unhinged but god damn it, I respect you.

Thanks stranger over the internet seems like the best option.

[–] MrTolkinghoen@lemmy.zip 15 points 17 hours ago (1 children)

Tailscale with self hosted headscale

[–] pfr@lemmy.sdf.org 1 points 4 hours ago

Any helpful tips or links to tutorials for this method?

[–] EncryptKeeper@lemmy.world 12 points 21 hours ago* (last edited 21 hours ago)

If you’re a beginner and you’re looking for the most secure way with least amount of effort, just VPN into your home network using something like WireGuard, or use an off the shelf mesh vpn like Tailscale to connect directly to your JF server. You can give access to your VPN to other people to use. Tailscale would be the easiest to do this with, but if you want to go full self-hosted you can do it with WireGuard if you’re willing to put in a little extra leg work.

What I’ve done in the past is run a reverse proxy on a cloud VPS and tunnel that to the JF server. The cloud VPS acts as a reverse proxy and a web application firewall which blocks common exploits, failed connection attempts etc. you can take it one step beyond that if you want people to authenticate BEFORE they reach your server by using an oauth provider and whatever forward Auth your reverse proxy software supports.

[–] ohshit604@sh.itjust.works 7 points 19 hours ago* (last edited 18 hours ago)

“Technically” my jellyfin is exposed to the internet however, I have Fail2Ban setup blocking every public IP and only whitelisting IP’s that I’ve verified.

I use GeoBlock for the services I want exposed to the internet however, I should also setup Authelia or something along those lines for further verification.

Reverse proxy is Traefik.

[–] recall519@lemm.ee 7 points 19 hours ago (1 children)

Cloudflare. No public exposure to the internet.

[–] Batman@lemmy.world 8 points 18 hours ago (2 children)

Are we not worried about their terms of service? I've been using pangolin

[–] recall519@lemm.ee 5 points 15 hours ago

I run multiple enterprise companies through it who are transferring significantly more sensitive data than me. I'm not as strict as some people here, so no, I don't really care. I think it's the best service, especially for free, so until things change, that's what I'm using.

[–] kalpol@lemmy.ca 5 points 18 hours ago (1 children)

We are, Batman, we are.

I VPN to my network for it.

[–] Batman@lemmy.world 3 points 17 hours ago* (last edited 17 hours ago) (1 children)

I expose jellyfin and keycloak to the internet with pangolin, jellyfin user only has read access. Using the sso 🔌 jellyfin listens to my keycloak which has Google as an identity provider(admin disabled), restricting access to my users, but letting people use their google identity. Learned my family doesn't use anything that isn't sso head-to-toe.

It's what we do in the shadows that makes us heroes, kalpol.

[–] mal3oon@lemmy.world 3 points 7 hours ago

First time I hear someone using keycloak for local hosting.

[–] _cryptagion@lemmy.dbzer0.com 29 points 1 day ago (1 children)

My go to secure method is just putting it behind Cloudflare so people can’t see my IP, same as every other service. Nobody is gonna bother wasting time hacking into your home server in the hopes that your media library isn’t shit, when they can just pirate any media they want to watch themselves with no effort.

[–] EncryptKeeper@lemmy.world 10 points 21 hours ago (19 children)

Nobody is gonna bother wasting time hacking into your home server

They absolutely will lol. It’s happening to you right now in fact. It’s not to consume your media, it’s just a matter of course when you expose something to the internet publicly.

[–] dbtng@eviltoast.org 1 points 4 hours ago

And this is the start of the longest crypto nerd fight I've seen on Lemmy. Well done, people!

load more comments (18 replies)
[–] fmstrat@lemmy.nowsci.com 22 points 1 day ago (3 children)

I used to do all the things mentioned here. Now, I just use Wireguard. If a family member wants to use a service, they need Wireguard. If they don't want to install it, they dont get the service.

[–] MehBlah@lemmy.world 4 points 21 hours ago

Came here to say this. I use wireguard and it simply works.

load more comments (2 replies)
[–] FrostyCaveman@lemm.ee 40 points 1 day ago* (last edited 1 day ago) (3 children)

I think my approach is probably the most insane one, reading this thread…

So the only thing I expose to the public internet is a homemade reverse proxy application which supports both form based and basic authentication. The only thing anonymous users have access to is the form login page. I’m on top of security updates with its dependencies and thus far I haven’t had any issues, ever. It runs in a docker container, on a VM, on Proxmox. My Jellyfin instance is in k8s.

My mum wanted to watch some stuff on my Jellyfin instance on her Chromecast With Google TV, plugged into her ancient Dumb TV. There is a Jellyfin Android TV app. I couldn’t think of a nice way to run a VPN on Android TV or on any of her (non-existent) network infra.

So instead I forked the Jellyfin Android TV app codebase. I found all the places where the API calls are made to the backend (there are multiple). I slapped in basic auth credentials. Recompiled the app. Deployed it to her Chromecast via developer mode.

Solid af so far. I haven’t updated Jellyfin since then (6 months), but when I need to, I’ll update the fork and redeploy it on her Chromecast.

[–] EpicFailGuy@lemmy.world 16 points 1 day ago

What an absolute gigachad XD

load more comments (2 replies)
[–] Scavenger8294@feddit.org 21 points 1 day ago (5 children)

for me the easiest option was to set up tailscale on the server or network where jellyfin runs and then on the client/router where you want to watch the stream.

load more comments (5 replies)
load more comments
view more: next ›