RADIUS Configuring
Please specify all URLs in lowercase.
The JSON format does not allow comments in the file, so you need to remove lines starting with "//" characters.
After changing the configuration file restart application pool IdP in IIS Manager.
Go to C:\inetpub\wwwroot\idp and edit file appsettings.json.
Section IdentitySettings
DirectoryMechanism — Mechanism of authentication.
Authentication — Authentication provider.
IdentitySettings section in appsettings.json configuration file"IdentitySettings": {
...
"DirectoryMechanism": "Radius",
"Authentication": "Local",
...
}
Section Radius
AuthenticationScheme — authentication scheme in RADIUS. Possible parameters:
PAP
,CHAP
,MSCHAPV2
. ThePAP
scheme is insecure.noteUsing CHAP authentication in Windows, it is necessary to enable Store passwords using reversible encryption in the user account settings and update the user's password.
AuthenticationUserName — name format for authentication. Possible parameters:
- NameWithoutDomain — name without domain (for authentication in FreeRadius)
- SamCompatibleName — name in the format AXIDIAN\\user
- PrincipalName — name in the format user@axidian.domain
Secret — secret for the additional authentication of the component.
Timeout — timeout waiting for a RADIUS server response.
RemoteEndpoint:
- Address — RADIUS server address for connection.
- Port — RADIUS server port for connection (default port: 1812).
"Radius": {
"AuthenticationScheme": "MSCHAPV2",
"AuthenticationUserName": "PrincipalName",
"Secret":"ENCRYPTED_CfDJ8MPJ7V58kgpLvtoHgdiuk5VKMK_hf3r437uZdHjdZAfve5wtVvgDZPjjDm7bgjCXKM5XM",
"Timeout": 10,
"RemoteEndpoint": {
"Address": "PAM_RADIUS_SERVER",
"Port": 1812
}
You can specify multiple RADIUS servers to provide system fault tolerance. In this case, PAM sends the request to the RADIUS servers sequentially, in the orthe servers are specified in the configuration file. In other words, if it was unable to connect to the first RADIUS server, then PAM will try to connect to next o
"Radius": {
"Timeout": 10,
"RemoteEndpoints": [
{
"Address": "10.11.4.28",
"Port": 1812,
"Secret": "123",
"AuthenticationScheme": "MSCHAPV2",
"AuthenticationUserName": "PrincipalName"
},
{
"Address": "10.11.4.128",
"Port": 1812,
"Secret": "123",
"AuthenticationScheme": "MSCHAPV2",
"AuthenticationUserName": "PrincipalName"
}
]
},