Bobcares

CloudFlare RDP Remote Desktop: Configuration and setup

by | Oct 25, 2022

Let us look at how to set up the Cloudflare RDP remote desktop. At Bobcares our Server Management Support services can give you a complete guide on setting up the remote RDP.

Connect to Remote Desktop Through Cloudflare Tunnel: RDP

cloudflare rdp remote desktop

The Remote Desktop Protocol (RDP) allows users to connect to a computer remotely via a graphical interface. RDP allows users to gain simple remote access to devices or workstations that they cannot physically reach. However, because a misconfiguration might unwittingly provide unwanted access to the computer, RDP connections are frequently the target of assaults.

We can enjoy the comfort of making the RDP server available across the Internet using Cloudflare Zero Trust without the danger of opening any inbound ports on the local server.

Cloudflare Zero Trust provides two ways to secure RDP server access:

  • Cloudflare WARP to Tunnel private subnet routing.
  • Routing of public hostnames with cloudflared access.

Set up a Cloudflare RDP server in GCP: Remote Desktop

This example shows how to install and configure an RDP server on a Google Cloud Platform (GCP) virtual machine (VM). Note that we can use Any machine that supports RDP connections.

  • Create a new project in the Google Cloud Console.
  • Navigate to Compute Engine > Virtual Machine Instances.
  • Choose Create instance.
  • Give the VM instance a name, such as windows-RDP-server.
  • Set up the VM instance by following the configuration steps given below. This completes the ist steps set of steps in the remote desktop.

    1:Scroll to Boot Disk and click Change.

    2:Select Windows Server as the operating system.

    3:Select a Desktop Experience version, such as Windows Server 2016 Datacenter.

  • To reset the password, open the dropdown next to RDP and choose View gcloud command.
  • Choose Run in Cloud Shell.
  • In the Cloud Shell terminal, type the command. We have to confirm the password reset.
  • Save the auto-generated password and username somewhere secure.

Internet Explorer is installed and set in Enhanced Security mode by default. Disable Enhanced Security and install another browser, such as Google Chrome if the browser is taking too much time.

Connect to RDP server with WARP to Tunnel

This is the next step to remote desktop. We can use the Cloudflare Tunnel to establish a secure, outbound-only connection from the server to Cloudflare’s edge. This necessitates the server running the cloudflared daemon. Users can access the service by downloading the Cloudflare WARP client and joining the Zero Trust organization.

Remote devices will be able to connect in the same way as they would on a private network. Unless we create policies to allow or ban certain users, all devices enrolled in the organization can access the service by default.

1. Link the server to Cloudflare.
  • Firstly, we need to set up a Cloudflare Tunnel.
  • Select a domain from the drop-down menu and enter any subdomains in the Public Hostnames tab. (for example, rdp.abcd.com).
  • After that, select RDP as the Service and input the RDP listening port. It will very certainly be port 80, 443, or 3389.
  • Choose Save hostname.
  • Finally, to control server access, add a self-hosted application to Cloudflare Access.
2. Connect as a user
  • Firstly, construct a client machine and install cloudflared.
  • To listen on the RDP port, issue the following command:

    cloudflared access rdp --hostname rdp.abcd.com --url rdp://localhost:3389

  • This procedure must be set to run continuously and automatically. Users will be unable to connect if the process is terminated.
  • Connect from an RDP client, such as Microsoft Remote Desktop, when cloudflared access is active:

    1:Select Add a PC in Microsoft Remote Desktop.

    2: Enter thelocalhost:3389as the PC name.

    3: Enter the RDP server username and password in the User account field.

    4: Select the newly added PC by double-clicking it.

    5: When prompted to continue, choose Continue.

When the client launches, a browser window will open and prompt the user to authenticate themselves.

[Need assistance with similar queries? We are here to help]

Conclusion

To sum up we have now learned how to set up the Cloudflare RDP remote desktop. with the support of our server management support services, we have gone through all of the setup steps in the process. We have also seen how to set up a Cloudflare RDP server in GCP.  We have also seen how to Connect to the RDP server using WARP to tunnel.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF