You can use a Cloudflare Tunnel to securely access your Windows machine remotely.
Enable Remote Desktop
Make sure RDP is enabled in Windows
Create a new Tunnel from your Cloudflare Zero Trust dashboard
Install cloudflared on your Windows machine and connect it to your new tunnel. We’re now done on the “Server” side of the configuration.
Configure your client
Install cloudfared on your client
Connect to the RDP tunnel by running the following command
cloudflared access rdp --hostname <YOUR HOSTNAME> --url rdp://localhost:3389
For more help see here