RadSec: RADIUS over TLS for Secure Modern AAA Deployments

TLDR

  • RADIUS/TLS runs over TCP (Transmission Control Protocol) and RADIUS/DTLS over UDP (User Datagram Protocol), both on port 2083, which carries all RADIUS traffic.
  • Peers authenticate with X.509 certificates or TLS pre-shared keys (TLS-PSK) instead of a per-client shared secret.
  • Protection is per hop, because every proxy decrypts and re-encrypts what it forwards.
  • RADIUS/1.1 (RFC 9765) runs over TLS 1.3 and removes MD5 completely.
  • RadSec is RADIUS carried inside Transport Layer Security (TLS, RFC 6614, over TCP) or Datagram TLS (DTLS, RFC 7360, over UDP), both on port 2083. TLS encrypts and authenticates each hop of the RADIUS exchange with certificates or pre-shared keys, so the security of each packet no longer rests on MD5 and a shared secret.
  • Classic RADIUS (Remote Authentication Dial-In User Service) carries authentication, authorization and accounting (AAA) traffic and was built for trusted networks. It sends most attributes in clear text over UDP and relies on the MD5 message-digest algorithm. The 2024 BlastRADIUS attack (CVE 2024 3596) exploited that weakness in practice.
  • Operators now send RADIUS across wide area networks (WANs), to roaming partners and into cloud regions. Moving that traffic to RadSec comes down to three decisions: the transport, the credentials, and where to terminate TLS. For a refresher on RADIUS itself, see how the RADIUS protocol works.

RadSec vs RADIUS: What Changes on the Wire

RadSec moves RADIUS from UDP ports 1812 and 1813 to port 2083 and replaces the per-client shared secret with mutual TLS authentication. The packets inside stay the same, so an Access-Request is still an Access-Request (RFC 7360 §2.1).

What differs is how peers authenticate, what an observer on the path can read, and what the AAA server can see. Table 1 compares plain RADIUS/UDP, RadSec and RADIUS/UDP inside an IPsec (Internet Protocol Security) tunnel.

  RADIUS/UDP RadSec (RADIUS over TLS or DTLS) RADIUS/UDP over IPsec
Port UDP 1812 and 1813 (RFC 2865 §3; RFC 2866 §3) TCP or UDP 2083, all packet types (RFC 6614 §2.1; RFC 7360 §3.1) UDP 1812/1813 inside a tunnel
Confidentiality Mostly clear text; User-Password obfuscated with MD5 Whole packet encrypted per hop Whole packet encrypted in the tunnel
Peer authentication Shared secret tied to client IP Mutual TLS: certificates or TLS-PSK IPsec credentials, invisible to RADIUS
AAA server visibility Shared-secret checks only TLS state, peer identity, errors None; failures look like packet loss
BlastRADIUS Exposed unless Message-Authenticator is enforced Not exposed on protected hops Not exposed inside the tunnel
IETF direction (draft, July 2026) Deprecated outside secure networks Recommended Allowed; RadSec preferred

IPsec also encrypts RADIUS, but the AAA server cannot see whether the tunnel is secure or even up. That is why the Internet Engineering Task Force (IETF) draft that proposes RADIUS/UDP deprecation recommends RadSec over IPsec (draft ietf radext deprecating radius 10 §3.2, July 2026). Our guide to RADIUS ports 1812 and 1813 covers the legacy port map.

Is RadSec TLS or DTLS?

RadSec comes in both forms. RADIUS/TLS uses TCP port 2083 and RADIUS/DTLS uses UDP port 2083, under the same “radsec” service name at the Internet Assigned Numbers Authority (IANA). In both, the shared secret becomes a fixed string (“radsec” or “radius/dtls”) because TLS now carries the security (RFC 6614 §2.3; RFC 7360 §2.1).

RFC 6614 and RFC 7360 are both Experimental Requests for Comments (RFCs). Their replacement, draft ietf radext radiusdtls bis, is approved as a Proposed Standard and sits in the RFC Editor queue as of November 2026. It requires servers to support both transports (§3), so test DTLS even if TLS is your default.

RADIUS/TLS over TCP (RFC 6614)

With RADIUS/TLS, the client opens a TCP connection, completes a TLS handshake and then streams RADIUS packets (RFC 6614 §2.3). It is more widely deployed than DTLS, especially in roaming federations (RFC 9765 §7.1).

Because TCP delivers in order, one lost segment holds up every authentication behind it on that connection. This head-of-line blocking hurts multi-round-trip EAP (Extensible Authentication Protocol) logins most (draft-ietf-radext-radiusdtls-bis-18 §6.4).

RFC 6614 set TLS 1.1 as the minimum, and RFC 8996 has since deprecated TLS 1.1. Plan for TLS 1.2 at least, and TLS 1.3 where your equipment supports it.

RADIUS/DTLS over UDP (RFC 7360)

RADIUS/DTLS keeps the UDP model, so a lost packet affects only its own session and there is no head-of-line blocking (RFC 7360 §1.3). It suits NAS (network access server) platforms and firewall policies built around UDP.

DTLS overhead can push datagrams past the path MTU (maximum transmission unit). Servers also have to track DTLS sessions themselves, with no TCP state to rely on (RFC 7360 §2.1, §5).

RadSec Certificates or Pre-Shared Keys?

RadSec requires mutual authentication, so each side verifies the other (draft-ietf-radext-radiusdtls-bis-18 §3.3). Certificates work across organizations, while TLS-PSK follows the familiar shared-secret workflow. The pending standard requires servers to support both, so you can choose per peer.

Mutual TLS with X.509 Certificates

Each peer presents a certificate from a certification authority (CA) the other side trusts. Use a private CA dedicated to RADIUS, because a client that trusts a public CA would accept any server holding a certificate from it (RFC 7360 §10.4).

Match identities on subjectAltName entries, such as a Domain Name System (DNS) name, IP address or NAI (Network Access Identifier) realm, never the Common Name (draft-ietf-radext-radiusdtls-bis-18 §3.3.1). Plan renewal and revocation early, because a connection should close when the peer’s certificate expires.

TLS-PSK for RadSec (RFC 9813)

TLS-PSK replaces certificates with a random key both peers hold. RFC 9813, a Best Current Practice (BCP 243, July 2025), presents it as the simpler upgrade path from shared secrets.

RFC 9813 forbids reusing an old shared secret as a PSK (§4.1.3) and requires every PSK to be random and at least 16 octets long (§4.1.1). Servers must also filter clients by IP range before checking the PSK identity (§6.2.1).

Keep TLS-PSK inside one organization. RFC 9813 recommends against it across organizational boundaries and says it is not suitable for dynamic discovery (§6.2, §1).

Where to Terminate RadSec: NAS, Proxy or AAA Edge

RadSec secures one hop between two RADIUS peers. A proxy decrypts each packet, can read every attribute, and re-encrypts it for the next hop (draft-ietf-radext-radiusdtls-bis-18 §7.2). Wherever you terminate it, RADIUS/UDP should never cross a network you do not trust.

Terminating on the NAS works best when the BNG (broadband network gateway), WLC (wireless LAN controller) or CMTS (cable modem termination system) supports RadSec natively. There is no UDP leg at all.

For NAS equipment that speaks only RADIUS/UDP, a RadSec proxy at the same site carries the traffic across the WAN. UDP stays on a separate management segment, as the IETF draft recommends (draft-ietf-radext-deprecating-radius-10 §6.1).

The third option is a highly available TLS front end at the AAA edge. It terminates RadSec ahead of the AAA cluster, keeps keys in one place, and leaves only an internal hop behind it.

In every case, requests such as CoA-Request (Change of Authorization) can return over the connection the NAS opened, since one port carries every packet type (RFC 6614 §2.5). Once RadSec is stable, remove the UDP fallback; otherwise an attacker who blocks TLS can force a downgrade (draft-ietf-radext-radiusdtls-bis-18 §7.7).

RADIUS/1.1 and the End of MD5 (RFC 9765)

RadSec still computes MD5-based fields inside the tunnel, using its fixed secret. RFC 9765 (Experimental, April 2025) defines RADIUS/1.1, which removes them.

Peers negotiate RADIUS/1.1 with the ALPN (Application-Layer Protocol Negotiation) value “radius/1.1” over TLS 1.3 or later, on port 2083 (RFC 9765 §3.1, §3.4). The shared secret disappears, and a 32-bit Token matches responses to requests (§4.1).

User-Password and similar attributes travel without MD5 obfuscation, protected by TLS (§5.1). Where configuration allows, peers fall back to standard RadSec (§3.3), so rollout can be gradual. That helps environments bound by FIPS 140, the US federal standard for cryptographic modules, which cannot rely on insecure cryptography such as MD5 (§1).

Three Operator Scenarios: RadSec for Roaming, WAN and Cloud AAA

The right answers depend on who sits at the other end. Table 2 gives typical starting points; NAS capabilities and partner agreements settle the details.

Scenario Transport Credentials Where to terminate
Roaming and carrier Wi-Fi TLS Federation or partner CA certificates Roaming edge proxy you control
NAS across the WAN TLS; DTLS on lossy links TLS-PSK first, then certificates On the NAS, or a site proxy
Cloud AAA TLS, long-lived connections Certificates; TLS-PSK for small fleets Highly available TLS front end in the region

Roaming Partners and Carrier Wi-Fi

Roaming moves RADIUS between organizations, often over the internet. Federations such as OpenRoaming already run RADIUS/TLS (RFC 9765 §7.1), and Passpoint lets handsets join without a manual login.

Use certificates here. Dynamic discovery (RFC 7585 §3) finds a realm’s home server through DNS NAPTR (Naming Authority Pointer) and SRV (service locator) records, which cuts proxy hops.

Terminate at a roaming edge proxy you control, and filter realms before any DNS lookup (draft-ietf-radext-deprecating-radius-10 §7.7.3). For the subscriber side, see our guide to carrier Wi-Fi security.

RadSec Migration for NAS Across the WAN

Internet service providers (ISPs), wireless ISPs (WISPs) and cable multiple-system operators (MSOs) run BNGs and Wi-Fi controllers in remote POPs (points of presence). Those POPs reach central AAA over the WAN or the internet, and this is where legacy RADIUS/UDP still crosses networks the operator does not control.

Take a regional ISP whose newer BNGs support RadSec while its older units speak only RADIUS/UDP. A safe migration runs in four steps:

  1. Enable RadSec with TLS-PSK on capable BNGs, giving each a new random PSK rather than its old shared secret.
  2. Put a site RadSec proxy in each POP with legacy BNGs, so UDP stays on the local management network.
  3. Run RadSec and UDP side by side only during cutover, then delete the UDP client entries.
  4. Move from TLS-PSK to certificates as the PKI (public key infrastructure) matures, starting with the proxies.

RadSec for Cloud AAA

In a public or private cloud, every RADIUS packet crosses networks you do not own. Terminate RadSec on a highly available TLS front end in that region. Our guide to cloud RADIUS covers the wider architecture.

RadSec also helps with NAT (network address translation). RADIUS/UDP identifies clients by source IP, which breaks when many share one address. RadSec identifies them by certificate or PSK identity instead (RFC 7360 §10.5).

Long-lived connections and TLS session resumption keep handshake cost off the authentication path (draft-ietf-radext-radiusdtls-bis-18 §3.5). Alepo AAA Server is engineered for 99.999% availability, so build the TLS front end to the same standard.

FAQs

Q1. What is RadSec?

RadSec is the common name for RADIUS over TLS (RFC 6614) and RADIUS over DTLS (RFC 7360). It wraps standard RADIUS packets in an encrypted, mutually authenticated connection on port 2083.

Q2. What port does RadSec use?

Port 2083: TCP for RADIUS/TLS and UDP for RADIUS/DTLS (RFC 6614 §2.1; RFC 7360 §3.1). Authentication, accounting and dynamic authorization share that one port.

Q3. Is RadSec TLS or DTLS?

It can be either. RADIUS/TLS runs over TCP and is more widely deployed; RADIUS/DTLS runs over UDP and avoids head-of-line blocking. The pending standards-track update covers both.

Q4. Does RadSec replace the shared secret?

Yes, as a security control. RadSec keeps a fixed string only for legacy fields, while TLS provides the protection (RFC 6614 §2.3). RADIUS/1.1 removes the shared secret entirely.

Q5. Do I need certificates for RadSec?

Not necessarily. Certificates suit roaming partners and dynamic discovery, while TLS-PSK suits an operator’s own NAS fleet (RFC 9813).

Q6. RadSec vs IPsec: which is better for RADIUS?

Both encrypt RADIUS in transit, but only RadSec lets the RADIUS application see and enforce transport security. The IETF deprecation draft recommends RadSec for that reason (draft-ietf-radext-deprecating-radius-10 §3.2).

Q7. Does RadSec fix BlastRADIUS?

On the hops it protects, yes. BlastRADIUS (CVE-2024-3596) requires tampering with RADIUS/UDP or RADIUS/TCP traffic, which TLS prevents. Remaining UDP hops still need Message-Authenticator protections, covered in our overview of RADIUS security.

Q8. What is RADIUS/1.1?

RADIUS/1.1 (RFC 9765, Experimental) is a RadSec profile negotiated with ALPN over TLS 1.3. It removes MD5 and the shared secret while keeping packet codes and most attributes unchanged.

Conclusion

RadSec leaves RADIUS packets as they are and changes how they travel: over TLS or DTLS on port 2083, between peers that authenticate each other. TLS is the usual default, with DTLS for lossy links and UDP-based NAS platforms.

Credentials usually split by peer. TLS-PSK is the simplest way to move your own NAS fleet off shared secrets. Certificates from a private CA suit roaming partners, dynamic discovery and larger cloud deployments, so start that work early.

Terminate on the NAS where RadSec is supported, at a site proxy where it is not, and on a highly available TLS front end for cloud AAA. Then remove the UDP fallback, and plan for RADIUS/1.1 as your peers add TLS 1.3 and ALPN support.

Moving a live AAA estate to RadSec means sequencing NAS upgrades, PKI work and proxy placement without disrupting subscribers. Book a demo of Alepo AAA Server to plan your rollout with our AAA team, tailored to your network and use case.

Want to see how this applies to your business? Let’s talk.

Share the Post:

Latest Posts

Receive the latest news

Subscribe To Our Newsletter

Subscribe to our Newsletter

Receive the latest news

Subscribe To Our Newsletter