Skip to main content
Vichu_94
Staff
Staff
June 29, 2022

Technical Tip: Configuring a RADIUS server

  • June 29, 2022
  • 0 replies
  • 7889 views
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

 

Related document:

Configuring a RADIUS server 

 

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!