A NAS is the device that sends RADIUS traffic, such as a switch, controller or VPN gateway. Add the source IPv4 that RadiusStack actually sees on the RADIUS leg, not the address of the connecting client. The RadiusStack 6.2.2 NAS API accepts one canonical IPv4 per entry, not a subnet or range.[18][10]
Procedure
- Determine the test appliance’s RADIUS source interface and whether traffic is translated. Confirm the receiving deployment’s mapped
RADIUS_AUTH_PORTandRADIUS_ACCT_PORT. The standard Compose mappings are UDP 1812 and UDP 1813.[6] - In the correct tenant, open
NAS Clientsand choose+ Add NAS. FillIP Address (nasname),Shortname,Shared Secret, and optionallyDescription. LeaveTLS (RadSec)off and choose no downstream destination for a clean local baseline.[3] - Save and confirm the NAS activation message. Configure the appliance with that same dedicated secret and the RadiusStack server address and UDP ports. Confirm the mount or container mapping has not been mistaken for the actual host destination port used by the appliance.[18][6]
- Use one disposable account to check authentication. Establish a test session and terminate it normally, then verify accounting. Check a known-denied test identity as well if you are verifying a policy change and not just onboarding a sender.
Worked example
lab-switch sends from 192.0.2.45 to 192.0.2.60. The switch points to .60 for authentication and accounting; the RadiusStack NAS entry is .45. Use the secret provisioned for that NAS only.
Expected behavior
The saved sender is recognized and the test request reaches policy. An unchanged secret is not displayed in the NAS editor; leaving the secret empty on an edit preserves it.[3][18]
Troubleshooting
If the appliance times out, confirm observed source and destination UDP port before rotating its key. A visible reject during a known attempt usually means the request reached a policy decision, so inspect that outcome separately.
Production precautions
A NAS save activates RADIUS; schedule it appropriately. Keep UDP on a trusted or protected path and do not use a single shared secret across unrelated appliances.