Cloudflare · setup · 2026

Cloudflare Tunnel

A public website served from a server at home — no open ports, no public IP, files up to 1–2 GB.

Cloudflare Tunnel — diagram

About the project

Doc. Desk runs on an own server in a home network. cloudflared opens an outbound tunnel, so the router has no open ports and the server address stays private.

Cloudflare Free allows 100 MB and about 100 seconds per request, so uploads go in resumable 8 MB parts and big downloads are sent by nginx directly.

What I did

  • Cloudflare Tunnel with apex and www
  • cloudflared as an isolated systemd service
  • nginx only on localhost, encrypted disk
  • Uploads in resumable parts under the limits
  • Big downloads via X-Accel-Redirect

Year
2026

Type
Cloudflare · setup

Stack
Cloudflare Tunnel, cloudflared, nginx, Linux

Screens

Cloudflare Tunnel — Diagram: working within limits
Diagram: working within limits
Planning a new project?

Let’s turn your ideas into something real