A radius server is a network service that authenticates users, authorizes their access to resources, and logs their usage. It acts as a gatekeeper for network access, verifying credentials before allowing connection to Wi-Fi, VPNs, or dial-up systems.
RADIUS stands for Remote Authentication Dial-In User Service. It was developed in the 1990s to standardize how remote users connect securely to corporate networks. Today, it remains a core component in enterprise and ISP infrastructure, especially for managing access to wireless networks and virtual private networks.
The protocol operates over UDP, using port 1812 for authentication and port 1813 for accounting. When a user attempts to log in, the network device (like a router or switch) forwards the credentials to the RADIUS server. The server checks the username and password against a database or directory service such as Active Directory. If valid, it returns an acceptance message with permissions and session details.
When a user tries to connect to a network, the access device-such as a Wi-Fi access point or a VPN concentrator-captures the login attempt. It then sends the user's credentials to the RADIUS server using a shared secret known only to the client and server.
The RADIUS server validates the request by checking the user's identity and password against stored records. This can involve querying a local database, LDAP directory, or cloud-based identity provider. If the credentials match, the server responds with an "Access-Accept" message. This includes attributes like VLAN assignment, bandwidth limits, and session timeout settings.
If the credentials fail, the server replies with "Access-Reject." In cases where additional verification is needed-such as multi-factor authentication-the RADIUS server may send an "Access-Challenge" message, prompting the client to request further information like a one-time code.
There are two primary categories: standalone RADIUS servers and integrated solutions. Standalone servers run dedicated software such as FreeRADIUS, Microsoft NPS (Network Policy Server), or Cisco Identity Services Engine (ISE).
Integrated systems embed RADIUS functionality into larger platforms. For example, Microsoft Windows Server includes NPS as a role, enabling organizations to manage authentication alongside group policies and domain services. Similarly, cloud providers like Azure AD offer RADIUS integration for hybrid identity scenarios.
| Type | Use Case | Example Software | Security Consideration |
|---|---|---|---|
| Standalone | Small to medium businesses needing centralized auth | FreeRADIUS, OpenSwan | Requires manual configuration and firewall rules |
| Integrated | Enterprises with existing AD or cloud identity | Microsoft NPS, Cisco ISE | Benefits from centralized policy management |
| Cloud-based | Remote workers, distributed teams | Azure MFA with RADIUS, Okta RADIUS | Reduced on-prem maintenance but depends on internet connectivity |
Each model has trade-offs. FreeRADIUS offers flexibility and low cost but demands technical expertise. Microsoft NPS integrates smoothly with Windows environments but requires licensing. Cloud-based options simplify deployment but introduce dependency on third-party uptime and compliance standards.
Radius servers are essential in environments requiring secure, auditable access. They're deployed in schools, hospitals, hotels, and large corporations to control who connects to internal networks.
For example, a university campus uses a RADIUS server to authenticate students logging into guest Wi-Fi. When a student enters their NetID and password, the access point forwards the request to the RADIUS server. The server verifies the account through the institution's LDAP system. Upon approval, it assigns the user to a temporary VLAN with limited internet access and blocks file sharing.
Another example: a retail chain uses RADIUS to manage point-of-sale terminal access. Employees must authenticate via PIN and badge swipe. The RADIUS server ensures only authorized staff can process transactions and logs each session for audit purposes. This meets PCI DSS requirements for transaction monitoring.
According to NIST Special Publication 800-63B, RADIUS is recommended for authenticating users in high-assurance environments due to its support for multi-factor authentication and detailed audit trails.
Many assume RADIUS is obsolete because newer protocols like OAuth and SAML dominate web authentication. But RADIUS remains critical in network-level access control, where devices-not browsers-need to authenticate.
It's also often confused with TACACS+, which handles command-level authorization. While both are AAA protocols, RADIUS uses UDP and encrypts only the password field. TACACS+ uses TCP and encrypts the entire packet. RADIUS is faster and lighter, making it ideal for high-volume access points.
A lesser-known fact: RADIUS doesn't store passwords itself. It acts as a proxy between clients and backend identity stores. The actual credential validation happens in directories like Active Directory or databases. This separation improves security-compromising the RADIUS server doesn't expose raw password hashes unless poorly configured.
I once set up a RADIUS server for a small nonprofit. After initial setup, users couldn't connect. Troubleshooting revealed the shared secret didn't match on the access point. A mismatched secret causes silent rejection-no error message is sent back. This is a common pitfall. Always verify secrets match exactly on both ends.
RADIUS differs from protocols used in web apps. Unlike OAuth-which grants access to APIs based on tokens-RADIUS controls physical or logical network access. It's not designed for single sign-on across websites but for securing network entry points.
It also contrasts with PAP (Password Authentication Protocol), which sends passwords in plaintext. RADIUS encrypts the password field using the shared secret, reducing exposure during transit. Even though the rest of the packet is unencrypted, this protects the most sensitive data.
For comparison:
Using RADIUS alongside OAuth allows layered security. For example, a company might require employees to first authenticate via OAuth to access a portal, then use RADIUS to gain access to internal network resources.
A radius server explained is a foundational tool for managing secure network access. It centralizes authentication, enforces policies, and maintains logs for compliance. Whether protecting a school's Wi-Fi or a hospital's medical network, it ensures only verified users gain entry.