Why is EAP called extensible?
EAP itself does not define how anyone proves who they are. It defines a simple envelope of request, response, success and failure messages, and leaves the actual proof to a method plugged into it. New methods can be added without changing switches, access points or the core protocol. That is why the same Wi-Fi access point can support certificate logins today and a different method tomorrow: it just forwards EAP messages without needing to understand the method inside. The framework is defined in RFC 3748.
Who are the three parties in an EAP login?
| Role in 802.1X | What it is | Example |
|---|---|---|
| Supplicant | The device asking for access | A laptop with wpa_supplicant, a phone |
| Authenticator | The network device controlling the port | A Wi-Fi access point or managed switch |
| Authentication server | Checks the credentials and decides | A RADIUS server such as FreeRADIUS |
Between the device and the access point, EAP travels inside EAPOL frames defined by IEEE 802.1X. Between the access point and the server, it travels inside RADIUS packets. Until the server says yes, the port only passes authentication traffic.
Which EAP methods are common?
| Method | Client proves identity with | Server certificate | Notes |
|---|---|---|---|
| EAP-TLS | Its own client certificate | Required | Strongest common choice; needs certificate management for every device |
| PEAP (MSCHAPv2 inside) | Username and password inside a TLS tunnel | Required | Very widely supported; safe only if clients verify the server certificate |
| EAP-TTLS | Password or other inner method inside TLS | Required | Flexible inner methods, good fit for LDAP back ends |
| EAP-PWD | A password, without certificates | Not used | Resists offline guessing, less widely supported |
| EAP-SIM, EAP-AKA | Mobile SIM credentials | Not used | Carrier Wi-Fi offload |
| EAP-MD5, LEAP | Weak password challenge | Not used | Obsolete; avoid |
Why does server certificate checking matter so much?
With PEAP and EAP-TTLS, the password exchange runs inside a TLS tunnel to the RADIUS server. If devices are configured to accept any certificate, an attacker can set up a fake access point with the same network name, present their own certificate, and collect password hashes from every device that connects. Configure every client to trust only your CA and to expect the exact server name. Better still, move to EAP-TLS, where there is no password to steal.
Can I host the RADIUS server on a dedicated machine?
Yes, and it is a common pattern for organizations with several offices: one or two RADIUS servers in a data center serve access points everywhere. FreeRADIUS on Debian or Ubuntu gets you started:
apt install -y freeradius freeradius-utils
cat >> /etc/freeradius/3.0/clients.conf <<'EOF'
client branch-lisbon {
ipaddr = 198.51.100.40
secret = use-a-long-random-shared-secret
shortname = lisbon-ap-controller
}
EOF
freeradius -XC # check the configuration
systemctl restart freeradius
radtest -t mschap testuser testpass 127.0.0.1 0 testing123
RADIUS uses UDP 1812 for authentication and 1813 for accounting. Open those ports only to your office addresses, because the classic RADIUS transport protects passwords weakly and relies on the shared secret. Recent guidance after the Blast-RADIUS findings is to require the Message-Authenticator attribute on every packet; current FreeRADIUS releases offer a setting for that. Better still, carry RADIUS over TLS (RadSec, TCP 2083) or inside a WireGuard tunnel between offices and the server. Replace the default certificates in /etc/freeradius/3.0/certs with ones from your own CA before going live.
Where does the user database live?
FreeRADIUS can check users against a local file for testing, but production setups usually point it at LDAP or Active Directory for passwords, or at an internal CA for EAP-TLS. The server then also returns attributes, such as which VLAN a user belongs to, so staff and guests land on different networks from the same access point.
How do I troubleshoot a failing EAP login?
Run the server in debug mode with freeradius -X after stopping the service, then try the login. The output shows each EAP round, the method negotiated, the inner identity and the exact reason for any reject, from a wrong password to a certificate the client refused. On the client side, journalctl -u wpa_supplicant -f or NetworkManager logs show whether the device rejected the server certificate, which is the most common cause after a certificate renewal. Comparing both sides usually pinpoints the problem in one attempt.
What size machine does RADIUS need?
Very little. Authentication bursts happen when everyone arrives in the morning, and even then thousands of logins a minute are light work. The E1 handles a large organization; a second box in another city, for example one in Ashburn and one in Seattle, gives redundancy because access points can list two RADIUS servers.
Machines for a Central RADIUS Server
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| E1 | Intel Xeon E3-1240 v3 | 4 / 8 | 16 GB DDR3 | 2x 240 GB SSD | 2x 1 Gbps | $30.52 | $91.56 (3 months) |
| E2 | Intel Xeon E3-1270 v3 | 4 / 8 | 32 GB DDR3 | 1x 480 GB SSD | 2x 1 Gbps | $38.32 | $114.96 (3 months) |
| S1 | Intel Xeon E-2276G | 6 / 12 | 64 GB DDR4 | 1x 1 TB NVMe | 2x 10 Gbps | $53.32 | $53.32 (1 month) |
Keep Reading
Authentication
How a system confirms that a user, device or service is who it claims to be, the main methods, and Linux logins.
OpenTLS Handshake
The exchange that sets up an encrypted HTTPS connection: hellos, key agreement, certificates, and how TLS 1.3 cut it to one round trip.
OpenUDP
The connectionless transport behind DNS, games, voice and QUIC, what it trades away compared with TCP, and how to run UDP services well.
OpenMulti-Factor Authentication
Logins that need two or more independent proofs of identity, the factor types compared by strength, and adding MFA to SSH and web apps.
OpenFAQ
Quick Answers
Mainly for logging devices into enterprise Wi-Fi and wired 802.1X networks, with credentials checked by a RADIUS server.
EAP-TLS, where each device has its own certificate and no password is exchanged.
Yes, when every client verifies the RADIUS server certificate. Without that check, fake access points can capture credentials.
Yes. Allow RADIUS ports only from your office addresses, or carry the traffic over TLS or a tunnel.
UDP 1812 for authentication and 1813 for accounting. RadSec uses TCP 2083.