Concepts / Network access control

Network access control

RADIUS

Also called FreeRADIUS, Access-Request, Access-Accept, Access-Reject, NAS, shared secret, radtest

The protocol switches, access points and VPN gateways use to ask one central server whether to let a user in.

The NAS asks, the user's device never does
The NAS asks, the user's device never does

The user's device talks only to the switch or access point (the NAS). The NAS asks the RADIUS server and applies what the answer carries, such as the VLAN.

RADIUS is the protocol switches, access points and VPN gateways use to ask one central server whether to let a user in. That device, the NAS, sends an Access-Request over UDP 1812; the server answers Access-Accept, Access-Reject or Access-Challenge. An accept can carry attributes, like the user's VLAN. A shared secret per NAS hides the password; a request from an unknown address gets no answer. radtest tests a server.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab