Pcornel
Security · Network Access Control

RADIUS

Cheat sheet · https://pcornel.dk/topic.php?topic=414

Back to the Topic

Answer

RADIUS is the protocol a switch, access point or VPN gateway uses to ask a central server whether a user or device may connect. The answer carries attributes — a VLAN, an access list, a privilege level. TACACS+ is the alternative for device administration.

Remember

UDP 1812 authentication, 1813 accounting. The server knows each device by IP address and shared secret; a wrong secret or unknown address gets silence, which looks just like a server that is down. The server's log gives the reason for a reject. Only the password is hidden in transit.

First checks

  • radtest <user> <pw> <server> 0 <secret> — test auth
  • freeradius -X — debug server (stop service first)
  • show radius server-group all — NAS view

Verify in this order

NAS → Access-Request → RADIUS server → Accept/Reject + attributes

Where it usually breaks

First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.

Network Access Control → RADIUS proof map

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative commit or tunnel-up state alone is not closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=414

Confirmation

Confirm action

Continue?