Security · 7 min read
What Is a RADIUS Server? How RADIUS Authentication Works
What is a RADIUS server and how does RADIUS authentication work? The Access-Request flow, ports 1812/1813, common uses for Wi-Fi, 802.1X and VPN, popular RADIUS servers and how to secure them.
A RADIUS server is a central authentication server that decides whether a user or device may connect to a network. Switches, Wi-Fi access points, VPN gateways and firewalls send login requests to it instead of keeping their own user lists. The RADIUS server checks the credentials, often against Active Directory or another directory, and replies accept or reject, together with policies such as a VLAN. It also records accounting data about each session.
How RADIUS authentication works
- A user connects to Wi-Fi, a switch port or a VPN.
- The access device, called the NAS or RADIUS client, sends an Access-Request to the RADIUS server on UDP port 1812.
- The server checks the credentials against its directory and policies. For 802.1X it runs an EAP exchange such as PEAP or EAP-TLS.
- It replies Access-Accept (with attributes such as VLAN, session time or ACL), Access-Reject, or Access-Challenge for another step such as an MFA code.
- The device sends Accounting-Request start and stop messages on UDP 1813 to record the session.
What RADIUS is used for
- Enterprise Wi-Fi (WPA2/WPA3-Enterprise): each user signs in with their own account. See the WPA3-Enterprise tutorial.
- Wired 802.1X: only authorised devices get a working switch port. See 802.1X port authentication.
- VPN logins with MFA.
- Guest Wi-Fi portals and hotspots.
- Dynamic VLANs and NAC, including Change of Authorization. See dynamic VLAN and CoA.
Popular RADIUS servers
| Server | Type | Notes |
|---|---|---|
| FreeRADIUS | Free, open source | The most widely deployed RADIUS server; runs on Linux |
| Microsoft NPS | Included with Windows Server | Integrates directly with Active Directory |
| Commercial NAC / policy servers | Commercial | Add guest portals, device profiling, posture checks and TACACS+ |
| Cloud RADIUS services | Subscription | No server to maintain; connect to cloud identity providers |
How to secure a RADIUS server
- Patch against Blast-RADIUS (CVE-2024-3596) and require the Message-Authenticator attribute.
- Use a unique, long shared secret per client.
- Prefer EAP-TLS or PEAP over PAP and CHAP, and make clients validate the server certificate.
- Keep RADIUS traffic on a management network, or use RADIUS over TLS (RadSec) between sites.
- Run two servers for redundancy and send logs to your SIEM.
Full steps: harden RADIUS. For administrator logins to network devices, compare RADIUS vs TACACS+.
FAQ
Frequently asked questions
What is a RADIUS server used for?
Centrally authenticating users and devices for Wi-Fi, wired 802.1X, VPN and hotspots, assigning policies such as VLANs, and recording session accounting.
What does RADIUS stand for?
Remote Authentication Dial-In User Service, a name from its origins in dial-up internet access.
What ports does RADIUS use?
UDP 1812 for authentication and 1813 for accounting. Older equipment may use 1645 and 1646.
Is there a free RADIUS server?
Yes. FreeRADIUS is free and open source, and Microsoft NPS is included with Windows Server.
Is RADIUS the same as Active Directory?
No. Active Directory stores users. RADIUS is the protocol and server that network devices use to check those users when they connect.
Related
Keep reading
What is AAA?
Read more →RADIUS vs TACACS+
Read more →Harden RADIUS
Read more →What Is a SOC (Security Operations Center)? Roles, Tools and AI SOC Explained
What is a SOC? How a security operations center works, SOC analyst tiers, core tools (SIEM, EDR/XDR, SOAR), in-house vs managed SOC, what an AI SOC is, and how it differs from SOC 2 compliance.
Read more →VPN Terms Explained: VPN Tunnel, Concentrator, Passthrough, Kill Switch and VPN Router
Clear answers to common VPN questions: what a VPN tunnel is, what a VPN concentrator does, VPN passthrough, VPN kill switch, VPN routers, split tunnelling and site-to-site vs remote-access VPN.
Read more →What Is a Firewall? Types, How It Works and Configuration Basics
What is a firewall and how does it work? Packet-filtering, stateful, proxy and next-generation firewalls (NGFW) explained, network vs host firewalls, and the configuration basics every business should apply.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.