RADIUS
Cheat sheet · https://pcornel.dk/topic.php?topic=414
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 authfreeradius -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
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative 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