Installing the NPS extension

The Identity360 NPS extension enables passwordless authentication and MFA for VPNs and other RADIUS endpoints. It runs on the Windows server that hosts the Network Policy Server (NPS) and acts during RADIUS authentication. When a user signs in to a VPN or RADIUS-enabled endpoint, the extension checks the configured conditional access policies and enforces MFA according to the defined rules.

System requirements

The NPS extension is installed on the Windows server that runs NPS and requires:

  • Supported OS: Windows Server 2016 and later.
  • Network: An outbound rule allowing TCP on port 443 to your Identity360 data center domain (for example, identity360.manageengine.com for the US).

Prerequisites

  • Must complete the configuration described in VPN and RADIUS Endpoints before setting up the NPS extension.
  • In Active Directory, set each user's Network Access Permission to Control access through NPS Network Policy in their dial-in properties.
  • In the Windows NPS server where the extension will be installed, set the authentication settings of the required Connection Request Policy:
    1. Select Authenticate requests on this server.
    2. For a passwordless deployment, select Accept users without validating credentials instead. Do this only after enabling passwordless authentication in Identity360 at Protection > Protection Settings > General > VPN.
  • Download the NPS extension ZIP file and copy the installation command from the Identity360 administrator console:
    1. Go to Protection > Conditional Access Policy.
    2. Open or create a policy that protects VPN or RADIUS endpoints, then click Install NPS Extension.
    3. On the Install NPS Extension page, in Step 1, click Download to get the NPS extension ZIP file, then copy the installation command shown in Step 2. The command already contains your installation key, so there is no separate key to copy. Store the command in a separate place; you will need it in a later step.
Important The technician who installs the NPS extension must be a member of the local Administrators group or have Run as administrator privileges on the machine.

Installing the NPS extension

  1. Copy the NPS extension ZIP file to the Windows server that you configured as the RADIUS (NPS) server, extract its contents, and save them to a secure location.
  2. Open Windows PowerShell as an administrator and navigate to the folder that contains the extracted files.
  3. If you did not save the installation command earlier, in the Install NPS Extension wizard, copy the command that contains the NPS extension script and installation key.
  4. In PowerShell, run the installation command. Paste the command you just copied which already contains your installation key or use the format below and replace {installation_key} with your key:
    .\setupNPSExtension.ps1 install {installation_key}
  5. When prompted, restart the Network Policy Server Windows service for the changes to take effect.
Note The installation key authorizes the NPS extension to connect to your Identity360 organization, so treat it as a secret. If you suspect it has been leaked, use Regenerate Installation Key in the Install NPS Extension wizard to issue a new key for future installations. NPS extensions that are already installed are not affected.

Installing the NPS extension

  1. Copy the NPS extension ZIP file to the Windows server that you configured as the RADIUS (NPS) server, extract its contents, and save them to a secure location.
  2. Open Windows PowerShell as an administrator and navigate to the folder that contains the extracted files.
  3. If you did not save the installation command earlier, in the Install NPS Extension wizard, copy the command that contains the NPS extension script and installation key.
  4. In PowerShell, run the installation command. Paste the command you just copied which already contains your installation key or use the format below and replace {installation_key} with your key:
    .\setupNPSExtension.ps1 install {installation_key}
  5. When prompted, restart the Network Policy Server Windows service for the changes to take effect.
Note The installation key authorizes the NPS extension to connect to your Identity360 organization, so treat it as a secret. If you suspect it has been leaked, use Regenerate Installation Key in the Install NPS Extension wizard to issue a new key for future installations. NPS extensions that are already installed are not affected.
Installing the NPS extension
Figure 1: The Install NPS Extension wizard.

Customizing the NPS extension

Use the customizations.json file to change the extension's default settings. After installation, edit the file at C:\Program Files\ManageEngine\Identity360 Cloud NPS Extension\conf\customizations.json.

Important: Do not modify any file other than the customizations.json file in the installation folder. The other files are integral to the extension and changing them can disrupt its functioning.

Sample customizations.json

{
  "IsMFAEnabled": "true",
  "LogPath": "C:\\Program Files\\ManageEngine\\Identity360 Cloud NPS Extension\\logs",
  "NetworkPolicies": "",
  "CRPolicies": "",
  "LogRotationMaxSize": "50",
  "LogLevel": "DEBUG",
  "LogArchivePath": "C:\\Program Files\\ManageEngine\\Identity360 Cloud NPS Extension\\logs\\archive",
  "UserIPAttribute": "31",
  "BypassConnectionError": "true"
}

The parameters, their default values, and descriptions are listed below.

Parameter Default value Description
IsMFAEnabled true Indicates whether authentication is enabled. Set to true to enable authentication or false to disable it.
LogPath …\Identity360 Cloud NPS Extension\logs Where the log file is stored. If you change it, ensure that the folder grants write permissions to the Users group and the SYSTEM account.
NetworkPolicies (empty) Optional. Enforce MFA only for users who fall under these network policies. Separate multiple policy names with semicolons.
CRPolicies (empty) Optional. Enforce MFA only for users who fall under these connection request policies. Separate multiple names with semicolons.
LogRotationMaxSize 50 Maximum size of the log file, between 10MB and 50MB. When the limit is reached, a new log file is created and the previous one is archived.
LogLevel NORMAL Logging level. NORMAL covers regular operation; DEBUG adds detailed troubleshooting information and increases log size.
LogArchivePath …\logs\archive Where log files are archived once they reach the LogRotationMaxSize limit.
UserIPAttribute 31 The RADIUS request attribute that carries the user's IP address. Identity360 uses this IP address for tracking and auditing MFA events, and it is mandatory for enabling IP address-based and geolocation-based conditions in a conditional access policy. The value varies by VPN provider, so refer to your provider's documentation for the attribute that sends the user's IP address. The attribute can be standard (set UserIPAttribute to the attribute number alone) or vendor-specific (set it to the vendor ID and the vendor-assigned attribute number, separated by a comma). See the examples below.
BypassConnectionError true When true, if a connection error occurs (such as a network issue, timeout, or unreachable authentication service), the MFA step is skipped and the user is allowed access.

Examples of UserIPAttribute values for common VPN providers:

Uninstalling the NPS extension

To uninstall the NPS extension, open Windows PowerShell as an administrator and run the following command:

Vendor Attribute type Attribute name Vendor ID Attribute number UserIPAttribute value
Juniper Networks Standard calling-station-id - 31 31
Palo Alto Networks Vendor-specific client-source-ip 25461 7 25461,7
.\setupNpsExtension.ps1 uninstall
Note When passwordless authentication is disabled in Identity360, clear the Accept users without validating credentials option in the required connection request policies in the Windows NPS server, so that RADIUS requests are not accepted without authentication.