FortiAuthenticator
FortiAuthenticator provides centralized authentication services for the Fortinet Security Fabric including multi-factor authentication, single sign-on services, certificate management, and guest management.
Mohammed_Feroz
Article Id 383176
Description This article describes how an active RADIUS user can be disconnected over the RADIUS Accounting Monitor option and from the FortiGate.
Scope FortiAuthenticator v6.x.
Solution

In the below example, FortiGate is used as a RADIUS client (172.31.207.87) and FortiAuthenticator as a RADIUS server (172.31.202.36).

 

  1. To Initiate Disconnect requested from FortiAuthenticator.

Configure Change of Authorization (CoA) and Radius accounting servers in FortiGate and FortiAuthenticator as per the below article:

Technical Tip: Send RADIUS Change of Authorization (CoA)

 

Once the above is configured all active RADIUS sessions are recorded under Monitor -> Authentication -> RADIUS sessions.

 

radius_monitor.png

 

A specific user can be selected to logoff for which a disconnect request is initiated from FortiAuthenticator

and the same is acknowledged (Disconnect-ACK) by the FortiGate and the user session is terminated as seen below.

 

disconnect_request.png

 

  1. To initiate disconnect requests from the FortiGate.

Over the GUI navigate to Dashboard -> Users&Devices -> Select the user and Deauthenticate.

 

deauth_user.png

 

Over the CLI below commands can be used:

 

diagnose firewall auth filter user <username>

diagnose firewall auth clear

diagnose firewall auth filter clear

 

The packet capture below shows the accounting request with connection termination and the same has been acknowledged by FortiAuthenticator.

 

deauth_user_fgt.png