Port 1812 is the RADIUS authentication port where network access servers (NAS) send authentication requests. RADIUS centralizes network access control for Wi-Fi (WPA2-Enterprise), VPN, and switch port authentication (802.1X). The shared secret between NAS and RADIUS server uses MD5 – use RadSec (RADIUS over TLS) for untrusted networks.
Port Number
1812
Protocol
UDP
Service
Remote Authentication Dial-In User Service
Range
IANA Registered (1024–49151)
Test RADIUS authentication (Access-Accept = working)
radtest user password radiusserver 0 sharedsecretTest 802.1X EAP authentication end-to-end
eapol_test -c eapol_test.conf -s sharedsecret -a radiusserverVerify RADIUS server is listening
ss -ulnp | grep 1812FreeRADIUS debug mode – see auth requests in real-time
radiusd -X 2>&1 | tail -20radtest user password radius-server 0 shared-secret
radiusd -X
eapol_test -c test.conf -s shared-secretRADIUS (Remote Authentication Dial-In User Service) was created by Livingston Enterprises in 1991 for dial-up modem authentication. RFC 2865 (2000) standardized it on port 1812. RADIUS became the universal backend for network authentication: Wi-Fi (WPA2-Enterprise), VPN, 802.1X, and ISP login. The protocol's reliance on MD5 was acceptable in 1991 but is now cryptographically broken. RadSec (RFC 6614, 2012) wraps RADIUS in TLS but adoption remains low. The Blast-RADIUS attack (2024) forced urgent industry response.
How do I mitigate the Blast-RADIUS (CVE-2024-3596) attack?
1. Require Message-Authenticator attribute in ALL Access-Request packets (FreeRADIUS: require_message_authenticator = yes). 2. Upgrade RADIUS server and NAS firmware to versions that enforce Message-Authenticator. 3. Use RadSec (RADIUS over TLS) for any link crossing untrusted networks. 4. Long random shared secrets (32+ chars) make the attack harder but don't eliminate it. 5. Long-term: migrate to RADIUS/TLS (radsec) or explore RADIUS successor protocols.
RADIUS vs TACACS+ – when to use which?
RADIUS (port 1812): encrypts only password field, combines authN+authZ, UDP-based, standard across all vendors. Best for: Wi-Fi (802.1X), VPN, ISP, anything multi-vendor. TACACS+ (port 49): encrypts entire packet body, separates authN/authZ/accounting, TCP-based, Cisco-proprietary. Best for: network device administration (switch/router CLI access) where you need per-command authorization. Most environments use both: RADIUS for user access, TACACS+ for admin access.