Protecting Windows RD connection with Cloudflare?

I have a server running on 1.2.3.4.

I can use Remote Desktop to connect to it using the IP 1.2.3.4 and the windows account credentials.
Is there a way to limit IPs which can connect to that Remote Desktop using CloudFlare? I've been looking at Zero Trust but can't figure out how to set it up.

what I tried so far:
Running Cloudflared on the server and setting up a tunnel.

I'm new to this and this would be my first time doing this so my tunnel setup might've been incorrect also.

what I want is not to be able to use a domain to connect to the RD but to secure the connecting through cloudflare when connecting using the server IP.
Was this page helpful?