RADIUS stands for Remote Authentication Dial-In User Service. It is a client/server protocol family used for authentication, authorization and accounting, commonly abbreviated AAA. Network devices use it to request access decisions and report session information to centralized services. A separate application is exporting NAT events in RADIUS Accounting messages.
What Is RADIUS?
RADIUS separates an access device from the service evaluating its requests. A network access server can ask whether a connection should be accepted and receive policy attributes with the answer. Accounting reports describe activity such as session start, interim updates or session termination, where supported and configured.
RFC 2865 specifies the base authentication and authorization protocol. RFC 2866 documents RADIUS Accounting. The shared name does not mean every implementation provides every AAA function.
Typical deployments include enterprise Wi-Fi, wired access, remote-access gateways and service-provider subscriber access. RADIUS can also carry application-specific accounting information, including vendor-defined NAT records.
RADIUS Meaning in Networking
In a conventional access deployment, the RADIUS client is the network access server (NAS), such as a switch, wireless controller or access gateway. The user's laptop or phone is the endpoint requesting access; it normally does not send the RADIUS exchange directly to the server.
The NAS collects or relays authentication information appropriate to the access method. It sends a request, receives an answer and enforces the supported policy attributes. The server may consult an identity store or another authentication service, but a directory such as Active Directory is not a mandatory component of every RADIUS deployment.
Centralization simplifies policy management, but does not guarantee that a policy change instantly affects every active connection. Reauthentication, session lifetime and any supported dynamic authorization mechanisms determine when the new policy takes effect.
What Is a RADIUS Server?
A RADIUS server receives requests, applies configured rules and returns responses. An accounting service receives accounting records and processes or stores them according to its configuration. Those roles may run together or separately, and requests may pass through proxies.
Servers require compatible clients, authentication methods and attribute definitions. An Access-Accept is useful only if the NAS can apply the relevant attributes. Similarly, an accounting packet can arrive while a backend fails to interpret a vendor-specific field or persist the record.
A typical access flow is:
User endpoint → NAS / RADIUS client → RADIUS server → optional identity serviceFor developers, client identity, supported attributes, retransmissions and duplicate handling are part of integration. For operators, reachability and server availability must be considered alongside policy correctness.
How Does RADIUS Work?
Authentication and authorization
The NAS sends an Access-Request containing the relevant attributes. Depending on the authentication method and policy, a server can return:
- Access-Accept: approve access and supply applicable configuration or policy attributes.
- Access-Reject: deny the request.
- Access-Challenge: continue the authentication exchange; this does not necessarily mean a second factor.
The exact credentials and exchanges depend on the authentication method. For example, an EAP-based exchange is not equivalent to sending a reusable password in every Access-Request. The NAS remains responsible for enforcing access after processing the response.
Accounting
Ordinary RADIUS Accounting uses Accounting-Request and Accounting-Response messages. Attributes can describe the record's status, session identifier and usage details. A client can retry according to its implementation and configuration when a response is absent; the receiver must handle possible duplicate requests.
Do not infer that every product emitting an Accounting-Request implements this complete exchange. A log exporter can use the packet format while omitting response processing, as in the NFWare NAT logging case below.
The AAA framework
| Function | Role |
|---|---|
| Authentication | Evaluate the identity evidence presented by a user, device or service |
| Authorization | Determine the access or policy permitted after evaluation |
| Accounting | Report activity or events for operational processing and record keeping |
Accounting is not a replacement for authentication, and a NAT event record is not an access approval. Which functions operate depends on the particular deployment.
Ports and transport
| Use | Common transport and destination port |
|---|---|
| Classic authentication and authorization | UDP 1812 |
| Classic accounting | UDP 1813 |
| Legacy deployments | Sometimes UDP 1645 and 1646 |
| RADIUS over TLS, commonly called RadSec | TCP 2083 by default, where supported |
RADIUS is therefore not limited to UDP. RFC 6614 describes RADIUS over TLS/TCP, while RFC 7360 describes the separate DTLS transport profile. Verify the supported profile on each endpoint rather than treating TLS and DTLS as interchangeable settings.
Where and How RADIUS Is Used in NAT and CGNAT
NAT changes addressing information, and NAPT also translates transport ports. In CGNAT, many subscribers can share a public address. An operator may need to connect an externally reported endpoint with the internal mapping that existed at that time.
There are two distinct RADIUS roles around this process. An access network may use AAA and subscriber accounting to record who held an internal address. A NAT device may separately emit translation events in Accounting messages. Correlating those datasets can connect a public endpoint to an internal assignment; one dataset does not automatically contain the other.
What a NAT investigation needs
Consider this illustrative TCP translation:
Internal endpoint: 10.24.8.15:51514
Public endpoint: 203.0.113.10:40001
Routing context: VRF 7The public address, public port, protocol and event time identify the relevant lookup. The operator checks which mapping or allocation covered the reported interval, then correlates its internal address and routing context with subscriber-assignment records.
Ports can be reused, and private addresses can overlap across VRFs. Clocks, event lifetimes and exporter identity therefore matter. A translation record alone identifies neither a person nor ownership of the public address space.
RADIUS NAT logging in NFWare vCGNAT
The NFWare NAT logging guide documents Accounting-Request export for NAT records. It explicitly states that vCGNAT does not wait for Accounting-Response. This is not a full RADIUS implementation or a demonstrated subscriber authentication service.
| NAT record type | RADIUS export in the guide |
|---|---|
address-map | Not supported |
port-map | Mapping events with original and translated endpoints |
session | Session events, including destination information |
port-block | Port-block allocation and release information |
The receiver needs the RADIUS dictionary linked in that guide to interpret NFWare attributes. Documented fields include event time, status and vendor-specific mapping details. Do not equate transport receipt with successful parsing or storage.
Configuration illustration:
nat log type port-map enable
nat log server 0 type radius ip 192.0.2.50 port 1813
nat log server 0 type radius secret REPLACE_WITH_SHARED_SECRET
nat log enable
show nat log countersUse a reachable collector, an unused server ID and a real secret handled securely. The address and secret above are placeholders; these commands were not executed. This example does not demonstrate TLS, response-based delivery confirmation or other AAA features.
Choosing and validating the export
RADIUS can fit an existing accounting pipeline when its receiver understands the NAT records. Syslog provides text events, while NetFlow v9 and IPFIX offer template-based alternatives. Evaluate actual fields, loss handling, collector capacity and operational requirements.
For an export that does not process responses, do not assume normal acknowledgment-based retry behavior or confirmed delivery. Test record generation, reception, decoding and retention, including create/delete pairs and restart scenarios. A sent counter cannot establish that the receiver has a complete history.
RADIUS vs TACACS+
Both protocols support centralized AAA functions, with different common deployment patterns.
| Aspect | RADIUS | TACACS+ |
|---|---|---|
| Common role | Network access and accounting | Device administration |
| Classic transport | UDP 1812/1813 | TCP 49 |
| AAA exchanges | Access decisions and separate accounting messages | Separate authentication, authorization and accounting exchanges |
| Protection | Classic attribute protection is limited; secure transport profiles exist | Base protocol obfuscates the body, leaves the header visible and has security limitations |
| Specification | RFC 2865/2866 and extensions | RFC 8907 |
The statement “TACACS+ encrypts the whole packet” is misleading. RFC 8907 describes the protocol and its security limitations; its body obfuscation should not be treated as modern secure transport. Neither protocol's name alone establishes deployment security or exclusive vendor support.
Security Considerations
Classic RADIUS does not encrypt the entire exchange. The User-Password attribute uses a shared-secret-based hiding mechanism; many other attributes remain visible. Calling this simply “only the password is encrypted” obscures both the mechanism and the differences between authentication methods.
Use supported secure transport profiles, validate peer identity and review every hop through proxies. RADIUS/TLS and RADIUS/DTLS support depends on the implementation. The experimental RADIUS/1.1 specification, RFC 9765, removes legacy MD5 dependencies for negotiated secure-transport connections; it is not an automatic upgrade for existing devices.
Keep implementations current and apply their authentication and integrity requirements. Protect shared secrets and limit permitted peers. Transport encryption does not prove that records were retained correctly, and a secure segment does not protect another segment left unencrypted.
RADIUS at a Glance
| Attribute | Detail |
|---|---|
| Full name | Remote Authentication Dial-In User Service |
| Main roles | Authentication, authorization and accounting |
| Base references | RFC 2865 and RFC 2866 |
| Conventional client | NAS or another configured RADIUS client |
| Common classic ports | UDP 1812 and 1813 |
| NAT use | Accounting-format export of supported mapping or allocation events |
| Key check | Confirm the exact AAA functions, attributes, transport and response behavior implemented |
Frequently Asked Questions
What does RADIUS stand for?
RADIUS stands for Remote Authentication Dial-In User Service, a protocol family supporting centralized authentication, authorization and accounting.
What is a RADIUS server?
A service that processes RADIUS requests according to configured authentication, policy or accounting rules. It may consult other services and identity stores.
What ports does RADIUS use?
Classic deployments commonly use UDP 1812 for access requests and 1813 for accounting. Secure transport profiles use different settings, such as TCP 2083 for RADIUS/TLS.
How is RADIUS used in NAT?
A supported translator can put NAT events into Accounting messages. A receiver interprets the event fields and can correlate mappings with other subscriber records. This does not imply that the translator also authenticates subscribers.
Does NFWare wait for RADIUS accounting acknowledgments?
For the NAT logging implementation described in its guide, no: vCGNAT sends Accounting-Request messages without expecting Accounting-Response. Validate reception and storage independently.
Is RADIUS secure by default?
Classic RADIUS has limited protection and does not encrypt every attribute. Supported TLS/DTLS profiles, peer validation, current software and protected paths improve security; confirm the actual capabilities in the deployed product.
Conclusion
RADIUS supports access decisions and accounting, but a particular implementation may provide only a subset. In NAT deployments, distinguish subscriber AAA from translation-event export. Validate attribute interpretation, timing, subscriber correlation and response behavior before relying on the resulting archive.