this post was submitted on 15 Jul 2025
29 points (100.0% liked)

Selfhosted

50062 readers
268 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
 

Let's say I setup some subdomains and then point them to my home server via Cloudflare tunnel.

If I use one of those subdomains from my personal PC on the same network as my home server, to watch a movie for example, is all of that traffic going out to the internet and then back? Or does all the traffic stay internal once the connection has been made?

you are viewing a single comment's thread
view the rest of the comments
[–] curbstickle@lemmy.dbzer0.com -1 points 2 weeks ago* (last edited 2 weeks ago) (10 children)

Should all be local after the connection is made, as long as nothing is wonky with your setup.

Locally you should resolve that DNS to your local server though, not via cloudflare.

[–] CameronDev@programming.dev 7 points 2 weeks ago (9 children)

I dont know that that is true. With cloudflare tunnels, their server.x.y.z will resolve to a cloudlfare IP address, which then tunnels it to their server? The traffic has to hit the cloudflare server, it can't short circuit that connection? Am I missing something?

[–] curbstickle@lemmy.dbzer0.com 4 points 2 weeks ago* (last edited 2 weeks ago) (8 children)

Depends on the server obviously, but most will pass off their local once the initial handshake is made.

Once that is done, DNS isnt relevant anymore.

Edit: This is especially true for media (movies, TV) servers.

[–] SteveTech@programming.dev 5 points 2 weeks ago* (last edited 2 weeks ago)

Uhh, this might be true for WebRTC, except not much uses WebRTC other than for realtime streaming/calling. Jellyfin for example is just an mp4 stream over http; and http(s) will only use the IP in the DNS record. I'd like to see a packet capture if you are certain something is switching IP.

load more comments (7 replies)
load more comments (7 replies)
load more comments (7 replies)