Issues when use Radius Server for authentication
10/14/2021
405 People found this article helpful
457,958 Views
Description
Troubleshooting issues with Radius Server for authentication for users. This article aims to show you how to use the Radius testing tool to troubleshoot the Radius configuration issues.
Resolution
Resolution for SonicOS 6.5
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170908533637.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
The RADIUS Server troubleshooting can be done by navigating to Manage | System Setup | Users | Settings | Configure Radius and from the Test tab. As can be seen, it offers one to test.
- basic connectivity with the RADIUS server (e.g, UDP 1812).
- authenticate a user by LDAP username and password.
This article discusses the troubleshooting for the common errors one receives in the Test .
Radius Server Timeout Error
SonicWall firewall communicates with the RADIUS server using UDP 1812, unless one has configured the RADIUS server with custom ports. Basic steps in troubleshooting Server timeout involve verifying the connection parameters as summarized below.
- Verify IP address of RADIUS host and port numbers on the SonicWall firewall by navigating to Manage | System Setup | Users | Settings | Configure Radius.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170908139961.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
- Verify the IP address of the SonicWall firewall, the RADIUS Client, and port numbers for communication as configured on the RADIUS server.
- Following are examples shown from a Microsoft Network Policy Server (NPS), which is a server role that has been set up on Windows server 2012R2 lab. The NPS control panel on a Windows server can be accessed in one of the three options as summarized below. Windows Key+R and nps.msc, Administrative Tools in Control Panel or server Tools on the Server Manager.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170908553161.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
- The most common cause of Server Time out or Communication errors may be related to improper port numbers and/or IP address of the SonicWall firewall. The port number information can be reviewed by right-click and selecting Properties. As summarized below, the authentication must match with the port number configured on the firewall, e.g., 1812 (UDP).
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170908657396.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
- The IP address of the SonicWall firewall can be reviewed from the Properties of the RADIUS client. The IP address must match with that of the firewall (
EXAMPLE: 192.168.168.168). While you are in this window, it is a good idea also to check the Shared secret. This is used for encrypting communication between the RADIUS server and Client.
RADIUS communication error
Please review the Shared Secret as configured on the firewall and on the RADIUS server as explained above.
RADIUS Client Authentication Failed
- The first step to troubleshoot the client authentication is to test the LDAP server for the credentials. The next step is to review the Network Policy used, e.,g., pluto-vpn in the following example. It is a good idea to use a Client Friendly Name in the Conditions tab. The name used here matches that configured for the RADIUS Client, e.g., SonicWall.
- The following diagram compiles the outcomes of troubleshooting that was based on the above discussion.
![](upload/images/sonicwall/090170908429678.png)
How to test
- When everything above configured correctly, you can do the test again. The result should be successful.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170801859261.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
Resolution for SonicOS 6.2 and Below
The below resolution is for customers using SonicOS 6.2 and earlier firmware. For firewalls that are generation 6 and newer we suggest to upgrade to the latest general release of SonicOS 6.5 firmware.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170801009360.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
NOTE: In this scenario, 192.168.136.168 as Radius Client has been added on the Radius server 192.168.136.66.
When doing troubleshooting, navigate to Users | Settings page. You can use Radius testing tool here.
- Navigate to Configure Radius | Settings | Input the IP Address, Shared Secret and Port Number of your Radius server.
| - Click tab Test, Input User name , Password and Authentication type | Click Test.
Server Response: Server Timeout Error
- On SonicWall, please double check the IP Address, Port number of your Radius server.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170801967900.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
- On Radius server (Windows 2008 NPS), please check the default Ports and Radius Client settings and also ensure the Radius server is available on the firewall.
- You can click Right Click NPS | Select Properties | Click tab Ports to check the authentication port.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170801490045.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
- Click RADIUS Clients and Servers | RADIUS Clients to check the client setting. 192.168.136.168 ( X3 interface IP address of SonicWall) is correct.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170801116581.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
Server Response RADIUS Communication Error
- Please check Shared Secret settings.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170801753340.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk5MjUsImlhdCI6MTcyNTA3MzkyNX0.62cy2NwTZwLgC1n2nnUAuE5IUElMKSgHDmlCpA4mfjY)
Server Response Radius Client Authentication Failed
- Your User name, Password is not correct, or authentication methods is not enabled in the Network Policy on your Radius server.
How to test
- When everything above configured correctly, you can do the test again. The result should be successful.
Related Articles
Categories