Cloudflare Tunnel

Installation:

Install Cloudflared using Winget in CMD:

winget install Cloudflare.Cloudflared

❌ If Winget Method Doesn't Work (Fallback Option):

  1. Rename the file to cloudflared.exe (if it isn’t already).

  2. Move the file to your user folder or any directory you can easily access, for example:

    C:\Users\YourUsername\
  3. Now run cloudflared commands below


Login to Cloudflare:

cloudflared login

Create a Tunnel:

cloudflared tunnel create my-tunnel

Run the Tunnel:

cloudflared tunnel run my-tunnel

Run the Tunnel:

Simply run:

cloudflared tunnel --url http://localhost:3001

If above one dosent work and using QUIC then use the below command in CMD

cloudflared tunnel --protocol h2mux --url http://localhost:3001

Features:

  • Instantly generates a public URL.

  • Supports both HTTPS and WebSocket (wss://) connections.

  • No domain or zone configuration required.

You’ll get a URL like:

https://randomstring.trycloudflare.com

Use this URL in your MDT configuration for quick testing or temporary setups.

Last updated