KB-9784419

Register a classic UDP NAS without changing other devices

Add one source IPv4 with a dedicated shared secret and verify both UDP listeners using an isolated NAS and test session.

9 views

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

  1. Determine the test appliance’s RADIUS source interface and whether traffic is translated. Confirm the receiving deployment’s mapped RADIUS_AUTH_PORT and RADIUS_ACCT_PORT. The standard Compose mappings are UDP 1812 and UDP 1813.[6]
  2. In the correct tenant, open NAS Clients and choose + Add NAS. Fill IP Address (nasname), Shortname, Shared Secret, and optionally Description. Leave TLS (RadSec) off and choose no downstream destination for a clean local baseline.[3]
  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]
  4. 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.

Sources

  1. [3] NAS editor fields
  2. [6] RADIUS and RadSec Compose listeners
  3. [10] Native downstream route selection and processing
  4. [18] NAS create, validation and update handlers