What is Remote Authentication Dial-In User Service (RADIUS)?

Remote Authentication Dial-In User Service (RADIUS) is a networking protocol that provides centralized authentication, authorization, and accounting (AAA) for users who connect to a network. Originally designed for dial-up services, RADIUS is now widely used in various network environments, including wireless, VPNs, and Ethernet.

Key Functions of RADIUS

  1. Authentication: Verifies the user’s identity based on credentials such as username and password.
  2. Authorization: Determines what network resources the authenticated user is allowed to access.
  3. Accounting: Tracks and logs user activity for monitoring and billing purposes.

How RADIUS Works

  1. Client Request:
    • A user or device sends an access request to the RADIUS Client (e.g., a Network Access Server or NAS).
  2. Forwarding to RADIUS Server:
    • The RADIUS client forwards the request to a centralized RADIUS Server.
  3. Authentication and Authorization:
    • The RADIUS server validates the user’s credentials against a database (e.g., Active Directory or LDAP) and determines access permissions.
  4. Response:
    • The server sends a response to the client, either granting or denying access.
  5. Accounting:
    • If access is granted, the server logs user activity for accounting purposes.

RADIUS Components

  1. RADIUS Client:
    • The network device (e.g., router, VPN server, or wireless access point) that forwards user requests to the RADIUS server.
  2. RADIUS Server:
    • The centralized server responsible for authentication, authorization, and accounting.
  3. User Database:
    • A repository of user credentials and policies, such as LDAP or Active Directory.

Characteristics of RADIUS

Centralized Management: All authentication and authorization decisions are handled by the RADIUS server.

Protocol Support: Works over UDP using ports 1812 (authentication/authorization) and 1813 (accounting).

Extensibility: Supports custom attributes and policies for diverse use cases.

Benefits of Using RADIUS

  • Centralized Authentication: Simplifies user management by consolidating authentication and authorization.
  • Enhanced Security: Protects credentials using encryption for communication between the RADIUS client and server.
  • Scalability: Supports large networks with numerous users and devices.
  • Accounting Features: Provides detailed logs for auditing and billing purposes.

Common Use Cases for RADIUS

  • Wi-Fi Authentication:
    • Provides secure access to wireless networks using credentials or certificates.
  • VPN Access:
    • Authenticates remote users connecting to corporate networks via VPN.
  • Enterprise Networks:
    • Centralizes authentication for multiple network devices and services.

RADIUS vs. Other Protocols

  • RADIUS vs. TACACS+:
    • TACACS+ offers more granular control over command authorization and is often used in network device administration.
  • RADIUS vs. LDAP:
    • LDAP focuses on directory services, while RADIUS handles AAA functions for network access.

Limitations of RADIUS

  • UDP-Based: Lacks the reliability of TCP and may be prone to packet loss.
  • Limited Granular Authorization: Less detailed control over specific commands compared to TACACS+.
  • Dependency on External Server: Requires a fully functional RADIUS server for authentication.

Conclusion

RADIUS is a robust protocol for managing network authentication, authorization, and accounting. It provides centralized control, enhances security, and supports diverse use cases, making it an essential tool for modern network environments.