Tunnel

  1. Install cf tunnel.
winget install --id Cloudflare.cloudflared
  1. login.

Cloudflared tunnel login.

  1. create tunnel.
cloudflared tunnel create <tunnel>

This will create a tunnel with a uuid.

%user_profile%\.cloudflared

Cert.pem.

<uuid>.json

4. add config.yml

@ ^.

4. add config.yml tunnel: <tunnel>
credentials-file: \.cloudflared\<uuid>.json

ingress

- hostname: <sub.domain.tld>
service: http[s]://localhost:<port>

- service. Http_status:404.

  1. start.
cloudflared tunnel run <tunnel>
  1. service.

Cloudflared service install.

  1. debug.
cloudflared tunnel run <tunnel> --loglevel debug
  1. Allow firewall.
Updated: 2026 Aug 19