FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
pachavez
Staff
Staff
Article Id 242796
Description

This article describes how to enable password renewal for SSL VPN RADIUS users.FortiGate can process the renewal of expired passwords for Radius users during the user's login.

In this example, the RADIUS server is a Windows NPS Server. A user radiususer is configured on the Windows NPS server with force password change on the next logon.

Scope

FortiGate.

Solution

Password renewal will only work with radius using the MS-CHAP-v2 authentication method.

 

To enable password renewal in FortiGate:

 

config user radius

    edit "Radius"

        set server "10.230.0.2"

        set secret <passwd>

        set auth-type ms_chap_v2

        set password-renewal enable

    next

end

 

On the Windows NPS Radius server, see the below screenshots for reference of configuration:

 

Connection Request Policies: Enable 'MS-CHAP-v2' and 'User can change the password after it has expired'.

 

Connection_Request_Policies (1).PNG

 

Network Policies: Enable 'MS-CHAP-v2' and 'User can change the password after it has expired'.

 

Network_Policies (1).PNG

 

To change the expired password, log in to the VPN using the existing password. Upon login, the message  'Your password expired. Please provide a new one.’ this should prompt. Enter the new password.

 

pachavez_0-1673591500672.png

 

Note:

It is not possible to use the previously used passwords on the renewal. A new password should meet the complexity requirements of the organization.

 

If the new password does not meet the requirements, the error New password maybe not meet the policywill prompt.

 

pachavez_2-1673591658177.png

 

If the password change is successful, it will allow connecting to the VPN after the password change.

 

pachavez_3-1673591726999.png

 

The same process will go if using SSL VPN web mode. Upon login, the message Your password expired. Please provide a new one.’ This should prompt.

pachavez_4-1673591762948.png

 

If the password change is successful, it will allow the user to connect to VPN.

 

Related article:

FortiGate Radius authentication not working with Microsoft NPS when using accented or UTF-8 special ...