163 words
1 minute

How to Remote Windows 11 using Cloudflare Zero Trust

Requirements#

  • Any domain
  • Cloudflare account
  • Windows Pro edition

Make sure Remote Desktop is enabled on your Windows machine.

Remote Desktop Enabled

Steps#

  1. Prepare your Cloudflare account and ensure your domain is registered in Cloudflare.
  2. Create a Cloudflare Tunnel from the computer you want to access remotely.
    Tunnel Creation
  3. Once your tunnel is connected, open the tunnel dashboard and set up the domain to be used for remote access. Follow the example below:
    • Click “Add a public hostname”
      Add Hostname
    • Set Type: RDP and URL: localhost. Choose the domain as needed.
      RDP Setup
  4. On the remote client, download Cloudflare’s client application: Download Link
    Cloudflare Download
    Save the file in your folder, then run this command in the terminal:
Terminal window
./cloudflared-windows-amd64.exe access rdp --hostname your.domain --url rdp://localhost:3390

Run Command

After that, open Remote Desktop Protocol (RDP) and enter the address: localhost:3390. Use the same username and password as on the computer you are accessing remotely.

RDP Login

After that, you should be able to start the remote session successfully.

alt text

Note

You can use this step for setup remote SSH as well.

Share Article

If this article helped you, please share it with others!

How to Remote Windows 11 using Cloudflare Zero Trust
https://alfari.id/posts/rdp/rdpcloudflare/
Author
Alfari
Published at
2025-07-30
License
CC BY-NC-SA 4.0
Last updated on 2025-07-30,224 days ago

Some content may be outdated

Profile Image of the Author
Alfari
Hello, I'm Ari.
Announcement
Welcome to my blog! This is a sample announcement.
Categories
Tags
Site Statistics
Posts
5
Categories
4
Tags
13
Total Words
4,814
Running Days
0 days
Last Activity
0 days ago

Table of Contents