this post was submitted on 19 May 2025
21 points (86.2% liked)

Selfhosted

46672 readers
800 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
 

So I'm trying to get Jellyfin accessible on the open web through a cloudflared tunnel

I have a default install of Jellyfin running that is still accessible locally.

I'm able to ping TV.myblogdomain.com

And the Cloudflared dashboard says the connection is up.

I have implemented page rules and caching rules to turn CDN off.

I have set the DNS server on the Jellyfin VM to be the Cloudflared DNS server.

It's pointed to https://jellyfin:8096/

And it wasn't working with or without a CIDR in the tunnel configuration.

Should I try uninstalling fail2ban and see if that helps? I thought I configured it right pointing it to the 8096 port but maybe I need to do 80/443?

Any tips or guides would be appreciated.

you are viewing a single comment's thread
view the rest of the comments
[–] nagaram@startrek.website -1 points 2 days ago (3 children)

I believe this is incorrect. I can't find the forum post from Cloudflare but you cannot use the CDN to deliver video without paying for it, but you can use CF as a reverse proxy via Cloudflared to deliver video so long as you aren't on the CDN

They even have blog posts on using Cloudflared for hobby video streaming projects like a RPi pet cam. Unless it's assumed I have an enterprise account.

https://www.cloudflare.com/service-specific-terms-application-services/#content-delivery-network-terms

Unless you are an Enterprise customer, Cloudflare offers specific Paid Services (e.g., the Developer Platform, Images, and Stream) that you must use in order to serve video and other large files via the CDN. Cloudflare reserves the right to disable or limit your access to or use of the CDN, or to limit your End Users’ access to certain of your resources through the CDN, if you use or are suspected of using the CDN without such Paid Services to serve video or a disproportionate percentage of pictures, audio files, or other large files. We will use reasonable efforts to provide you with notice of such action.

[–] calamityjanitor@lemmy.world 4 points 2 days ago (1 children)

My understanding is that it's technically against their TOS but loosely enforced. They don't specify precise limits since they probably change over time and region. Once you get noticed, they'll block your traffic until you pay. Hence you can find people online that have been using it for years no problem, while other folks have been less lucky.

Basically their business strategy is to offer too-good-to-be-true free services that people start using and relying on, then charging once the bandwidth gets bigger.

It used to be worse, and all of cloudflare's services were technically limited to HTML files, but selectively enforced. They've since changed and clarified their policy a bit. As far as I've ever heard, they don't give a toss about the legality of your content, unless you're a neo Nazi.

[–] nagaram@startrek.website 5 points 2 days ago (1 children)

unless you're a neo Nazi

I hate being torn between my hatred of tech monopolies and love of seeing Nazis get their shit rocked.

[–] Passerby6497@lemmy.world 4 points 2 days ago

Don't get too excited, it took a fucking long ass time for them to start pulling down neonazi content. For years I heard Patrick Grey (risky.biz) bitch about how Cloudflare refused to take down Nazi content they were hosting.

[–] EncryptKeeper@lemmy.world 1 points 2 days ago* (last edited 2 days ago)

but you can use CF as a reverse proxy via Cloudflared to deliver video so long as you aren't on the CDN

I think this is a common misinterpretation, but based on the limits of free tier CDN. It explains that in order to use the CDN for serving video, you have to use their back end for the video storage, but it doesn’t say that you can stream through their nodes all you want as long as you’re not using their CDN. People have been pressing them for clarification on this but they refuse to comment on it.

Currently the only method to fully adhere to their terms of service is to use their CDN and to do so via the methods laid out here:

Unless you are an Enterprise customer, Cloudflare offers specific Paid Services (e.g., the Developer Platform, Images, and Stream) that you must use in order to serve video and other large files via the CDN.

You are free to gamble on them not enforcing restrictions on your account however. I only bring this up because many of us have just opted to not use Cloudflare for this.

[–] N0x0n@lemmy.ml 1 points 2 days ago (1 children)

Sure if you only intend to stream your pets RPi webcam nothing to worry :) ! But don't even get into streaming illegal content you don't own !

I mean, your jellyfin instance is not going to be hooked to a Arr stack, is it?

[–] nagaram@startrek.website 2 points 2 days ago (1 children)

I don't know what that is. So no.

And obvious it's all movies and TV shows I own that's just conveniently ripped for sharing with friends and family :)

[–] N0x0n@lemmy.ml 1 points 2 days ago

Yeah, than you have nothing to worry I guess? I'm not versed into all this legal shit whatsoever...

However if you intend to use the arrstack (sonarr, radarr...) to download and manage your own video library (netflix like), I'm not so sure they will agree on it.