Debian Codegraph @

doc/antora/modules/concepts/pages/components/nas.adoc

raw
1 = Network Access Server
2
3 A Network Access Server (NAS) is a system that provides access to
4 a network. In some cases, it's also known as a Terminal Server or Remote
5 Access Server (RAS).
6
7 The NAS is meant to act as a gateway to guard access to a
8 protected resource. This can be anything from a telephone network,
9 to printers, to the Internet.
10
11 The client connects to the NAS. The NAS then connects to another
12 resource asking whether the client's supplied credentials are
13 valid. Based on that answer the NAS then allows or disallows
14 access to the protected resource.
15
16 The NAS contains no information about what clients can connect or
17 what credentials are valid. All the NAS does is send the
18 credentials the client supplied to a resource which does know how
19 to process the credentials.
20
21 == Examples
22
23 The above translates into different implementations for different uses.
24 Here are some examples.
25
26 - The most common use would be for access to the Internet. A
27 user opens their browser. The NAS detects that the user is not
28 currently authorized to have access to the Internet, so the NAS
29 prompts the user for their username and password. The user
30 supplies them and sends them back to the NAS. The NAS then uses
31 RADIUS to connect to an AAA server (in this case,
32 it is running FreeRADIUS) and passes off the
33 username and password to the FreeRADIUS server. The FreeRADIUS
34 server searches through its resources and finds that the
35 credentials are valid and notifies the NAS they are valid. The NAS
36 then grants the user access to the internet.
37
38 - Another use of a NAS would be in VoIP. However,
39 instead of using a username and password, many times a phone
40 number or IP Address are used. If the phone number is a valid
41 customer then the call can be completed. Other uses might be if
42 the phone number has long distance access or is a telephone card
43 and has minutes left.
44
45 == Associated Protocols
46
47 Although not required, NAS are almost exclusively used with
48 AAA servers. Of the AAA protocols available,
49 RADIUS tends to be the most widely used.
50 DIAMETER is a new protocol which extends on
51 RADIUS by providing error handling and inter-domain
52 communications which is starting to be implimented in some high
53 end NAS.
54
55 == More Information
56
57 - https://datatracker.ietf.org/doc/html/rfc2881[RFC 2881] Network Access Server Requirements Next Generation NAS Model
58 - https://datatracker.ietf.org/doc/html/rfc2881[RFC 2882] Network Access Servers Requirements: Extended RADIUS Practices
59
60 // Copyright (C) 2025 Network RADIUS SAS. Licenced under CC-by-NC 4.0.
61 // This documentation was developed by Network RADIUS SAS.