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.
Vichu_94
Staff
Staff
Article Id 216214
Description This article describes how to configure a RADIUS server.
Scope FortiGate. 
Solution

To configure the Radius server from the GUI: go to User & Authentication -> Radius Server and select 'Create New'. 

Screenshot 2025-02-13 123254.png

  

After that, fill in the NAS IP address, the RADIUS server IP address, and the shared secret key.

 

It is also necessary to test the connection and test user credentials to verify if the connection is established and the user credentials are correct.

 

To configure the same on the CLI, follow the command below: 


config user radius
    edit "Test-RADIUS"
        set server "10.3.8.45"
        set secret "radius secret" 

        set nas-ip "10.3.5.236"
    next
end 

 

To check if the user credentials are correct from the CLI, run the command below:


diagnose test authserver radius <RADIUS server name> pap <username> <password>


For troubleshooting and debugging logs for RADIUS:

 

diagnose debug app fnbamd -1
diagnose debug app radiusd -1

diagnose debug enable

 

Sometimes it is necessary to specify the source IP on the RADIUS server settings if there is a specific RADIUS client IP specified on the RADIUS server. 

 

config user radius
    edit "Test-RADIUS"
        set source-ip 10.3.8.45
    next
end