Multi-factor Authentication (MFA/2FA) for Microsoft Remote Desktop (RD) Gateway on Windows machines
Remote Desktop Gateway (RD Gateway) Multi Factor authentication (MFA/2FA) configuration adds additional two-factor authentication security for secure access to your Remote Desktop, RDWeb, RemoteApp Access logons on top of Active Directory or Azure AD logins. It also blocks connections to your RDP (Remote desktop protocol) servers if users have not passed Multi-factor / two-factor authentication where connection requests are proxied through a Remote Desktop Gateway (RD Gateway).
Because RD (Remote Desktop) Gateway gives public network users access to critical resources located within companies, it only makes sense to add layers of access security to RD Gateway access via multi-factor authentication (MFA/2FA) on top of Active Directory or Azure AD logins.
Using the miniOrange RD (Remote Desktop) gateway MFA solution with Active Directory or Azure AD logins, you can configure 15+ MFA methods like Push Notification through miniOrange authenticator, and out of band methods like SMS and Email link to secure access for users. Checkout more about Multi-Factor Authentication (MFA) here.
Once you have configured the miniOrange MFA solution for the Remote Desktop (RD) gateway, you will have to enter your computer name/username or address and the username along with the password. This can be your Active Directory or Azure AD login credentials. Based on your 2FA method, you will receive a notification or SMS/Email link. Once you click on the link, you will be logged in. You can also provide secure access to your Windows and Linux machines with Active Directory or Azure AD loginx using our Windows MFA Solution. Checkout the additional resources (at the bottom of this page) for more details.
Following are the types to secure access for Remote Desktop Services
A user can try to connect to RDS (Remote Desktop Services) via 2 ways :
- RDC - Remote Desktop Client:
If the RemoteApp is launched through a Remote Desktop client application, the users validate their two-factor authentication (2FA) while they enter the username and password (Active Directory or Azure AD credentials) to get secure access to the resources. (as this method doesn't support access-challenge response, only out of band authentication methods aresupported ).
Check the guide to setup Remote desktop protocol MFA (RDP MFA/2FA)
- Remote Desktop (RD) WebAccess - Remote Desktop (RD) login page via browser:
If the desktop or RemoteApp is launched through a RD Web Login page, the initial user authentication is done from the machine's AD (Active Directory or Azure AD credentials), after which miniOrange challenges the user for two factor authentication(2FA) via a RADIUS challenge request. After the users correctly authenticate themselves, they get secure access to their resources.
Check the guide to setup Remote desktop Web MFA (RD Web MFA/2FA)
Remote Desktop Gateway Multi factor authentication (RD Gateway MFA/2FA) - Authentication Flow:
- User Attempts to access a Remote Machine using the Remote Desktop Client with Username and Password.
- The Username and Password are verified against the Active Directory / Azure AD or any Identity source. (First Factor Authentication)
- Radius Request is sent from the Remote Desktop (RD) Gateway to the Network Policy Server (NPS).
- Based on the policies defined in the NPS, the Radius request is forwarded to the Radius Server (miniOrange Server) for validation.
- miniOrange receives the Radius requests and sends an Two/Multi Factor authentication (Out of Band) request to the user device.
- User validates the Out of Band Request (Email, SMS, Push-Notification MFA / 2FA method). On Success, miniOrange sends back a success response to NPS Server.
- NPS Server redirects it to Remote Desktop (RD) Gateway.
- The user is granted secure access to the Remote Machine.
miniOrange Credential Providers can be installed on Microsoft Windows client and server operating systems to add Multi/two factor Authentication to Remote Desktop. In this way you can get secure access to our MFA/2FA solution for Remote Desktop (RD) Gateway.
miniOrange supports following Authentication Methods for Multi-Factor Authentication (MFA/2FA):
|miniOrange Authenticator ||Soft Token|
|miniOrange Push Notification |
|SMS||SMS with Link|
|Email||Email with Link|
Get Free Installation Help - Book a Slot
miniOrange offers free help through a consultation call with our System Engineers to Install or Setup secure access using Two-Factor Authentication for Remote Desktop (RD) Gateway with Active Directory or Azure AD login solution in your environment with 30 days trial.
For this, you need to just send us an email at firstname.lastname@example.org to book a slot and we'll help you setting it up in no time.
Follow the Step-by-Step Guide given below to configure Two factor authentication (2FA/MFA) for Remote Desktop (RD) Gateway
1. Configure Remote Desktop (RD) Gateway
- Open the RD Gateway Manager from your Start Menu.
- Right click on your RD server in the left sidebar and click on Properties.
- Select the RD CAP Store tab.
- Select the Central server running NPS radio button and enter the IP address of miniOrange Radius Server and press Add button.
- Enter the DNS: radius.xecurify.com in the Host and configure the Shared secret and remember this shared secret as it will be required further in the setup.
- Click the Apply button and the click on OK button.
- Open the Network Policy Server manager.
- Expand RADIUS Clients and Servers in the left sidebar
- Select Remote RADIUS Server
- Right click on TS GATEWAY SERVER GROUP and click on Properties
- Select your RADIUS server and press Edit.
- Select the Load Balancing tab and set the timeout settings to 120 seconds
- Click on the Apply button and then click OK button to close the dialog
- Expand Policies in the left sidebar and click on Connection Request Policies
- Right click on TS GATEWAY AUTHORIZATION POLICY and click on Properties
- Click on Settings tab and select Authentication and ensure that it’s set to Forward requests to the remote RADIUS server
- Click on Policies –> Network Policies.
- Double click on your RDG CAP policy
- Click on the Conditions tab
- Select the Called Station ID attribute and press the Edit… button
- Set the value to UserAuthType:(PW|CA)
- Click on the OK button and click on the Apply button
2. Add RADIUS Client in miniOrange
- Login to miniOrange dashboard from the Admin Console.
- Go to Apps. Click on Add Application button.
- Choose RADIUS as Application type and click on Create App button.
- Configure details below to add Radius Client.
||Any name for your reference.
||IP address of VPN server which will send Radius authentication request.
For Eg. "sharedsecret"
(Keep this with you, you will need to configure same on VPN Server).
|Include Password & OTP in same Request
||Keep this option Disabled
|Send Groups in Response
||Enable this to send user groups as Vendor-Specific Group Attributes.
- Configure the following Policy details for the Radius App.
||Group for which the policy will apply.
||Any Identifier that specifies policy name.
||Select OTP/Push/Mobile Token (Password-Less Login).
- Click on Save.
Step 3: Configure Second Factor for End-Users
3.1:Configure Branding from miniOrange Admin Dashboard.
3.2: Configure 2FA for Users of Remote Desktop (RD) Gateway.
- Endusers can login to the End-User Portal using the Login Page URL
- Once the End-User is logged in, Click on Configure 2FA from the left pane.
- Here the End-User is provided the option to select the Out of Band Notification Method of his choice.
- Here we have configured SMS Link as a 2FA method for an example.
4. Test your Remote Desktop (RD) Gateway 2FA Setup
- Open Remote Desktop settings. Go to the Advanced tab and click on Settings. Choose the radio button which says, Use these RD Gateway Settings
- Enter your Computer Name/Address and the User Name.
- Enter the Password for RD Gateway.
- You will receive a Notification or message. If you Accept it, then you will be logged in successfully to your Windows RD Gateway .