KB-4524118

Correct a NAS source address or transport mismatch

Distinguish the packet source, advertised NAS IP and RadiusStack listener before fixing an unknown client or missing accounting.

9 views

A device can have a management IPv4, a separate RADIUS source and an advertised NAS-IP-Address. They are not automatically the same address. In RadiusStack 6.2.2 the downstream selection policy uses the actual Packet-Src-IP-Address; the NAS form stores a single canonical IPv4. Separately, the server listener is the packet’s destination, never the source the NAS form asks for.[18][10][6]

Procedure

  1. Write down the appliance source interface, any translation, the management address, the configured RadiusStack destination, and the expected transport. Verify the actual source from authorized server-side connection information, using a narrow test time and keeping credentials out of the notes.
  2. Compare the actual source with IP Address (nasname) in NAS Clients. Do not replace it with the supplicant IP or a network range. For a source migration, first identify affected tenants and whether more than one appliance would appear under the same source.[3][18][10]
  3. Compare the old and desired destination listeners. Classic RADIUS uses the mapped UDP authentication and accounting ports. RadSec uses the mapped TCP listener and requires an enabled TLS NAS plus the appropriate identity and trust configuration.[3][6]
  4. On the spare appliance, adjust one variable at a time and run one authorized login plus accounting. Compare each result with the baseline before updating any other device.

Worked example

A lab gateway with management address 192.0.2.80 sends from 192.0.2.81, but the server observes 198.51.100.81 after translation. Register the supported observed source for the UDP pilot and verify what IP the NAS advertises separately in accounting.

Expected behavior

The permitted test client is recognized at the intended listener. The IP displayed in an accounting row is a useful session clue, not a substitute for confirming the transport source.[10][19]

Troubleshooting

If a change fixes authentication but not accounting, check the separately configured accounting port and sender. When changing transport, a successful UDP login does not prove the TCP/TLS path works.

Production precautions

Do not merge unrelated appliances under one translated source to resolve an ambiguity. Prefer distinct, attributable paths; keep the prior addressing and listener plan available for rollback.

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
  5. [19] Accounting filters and session fields