Integrate Okta RADIUS Agent Server with On-Prem NPS having RDG as RADIUS Client

Ravi Shanubhoge 0 Reputation points
2025-08-01T13:17:17.1633333+00:00

How to Integrate Okta RADIUS Agent Server with On-Prem NPS having RDG as RADIUS Client

Windows for business | Windows Server | Networking | Software-defined networking
0 comments No comments

2 answers

Sort by: Most helpful
  1. Oliver Nguyen 1,500 Reputation points
    2025-08-05T12:27:31.3633333+00:00

    Hi Ravi,

    1. Prepare Prerequisites

    Ensure RDG is installed and working on your Windows Server.

    Set up Microsoft NPS on a domain-joined server.

    Install the Okta RADIUS Agent on a server with outbound internet access to Okta.

    2. Configure RDG as RADIUS Client to NPS

    On the NPS server: Open Network Policy Server from Server Manager.
    Go to RADIUS Clients and add RDG:
    Friendly Name: e.g., RDG
    IP Address: RDG server’s IP
    Shared Secret: Choose a secure shared secret (used later in RDG setup)

    3. Set Up Connection Request Policy

    In NPS:

    Navigate to Policies > Connection Request Policies. Create a policy for RDG traffic. Configure to Forward requests to a remote RADIUS server group(Okta RADIUS Agent).

    4. Configure Okta RADIUS Agent

    • Install the agent and configure its radius-agent.config file:
        {
        "agentListenPort": 1812,
        "sharedSecret": "yourSharedSecret",
        "authenticationTimeout": 30,
        "oktaApiToken": "yourApiToken",
        "oktaOrg": "https://yourcompany.okta.com"
      

    ===> Restart the RADIUS agent after saving changes.
    5. Define Network Policies

    Still in NPS:

    Create a Network Policy to match RDG connections and Set conditions (user groups, Windows version, etc.). Under Authentication, select Accept users from RADIUS server.

    6. Configure RDG to Use NPS

    In RD Gateway Manager:

    Open the properties of the RD Gateway server.

    Under RD CAP Store, select RADIUS server.

    Add the NPS server and shared secret.

    7. Test the Integration:

    • Try connecting via Remote Desktop through RDG.
    • Ensure users are prompted for Okta MFA.
    • Monitor logs on NPS and Okta RADIUS Agent to verify correct flow.

    =========================================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.

  2. Leffler, Robert 0 Reputation points
    2025-09-12T15:33:31.2633333+00:00

    In the Okat Radius Agent where does the radius-agent.config file go?

    {

    "agentListenPort": 1812,

    "sharedSecret": "yourSharedSecret",

    "authenticationTimeout": 30,

    "oktaApiToken": "yourApiToken",

    "oktaOrg": "https://yourcompany.okta.com"

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.