# Network access server

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Network_access_server
> Markdown URL: https://mediated.wiki/source/Network_access_server.md
> Source: https://en.wikipedia.org/wiki/Network_access_server
> Source revision: 1328012285
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Device providing access to a network}}
{{redirect-distinguish|NAS server|Network-attached storage}}
{{more citations|date=October 2022}}

A '''network access server''' ('''NAS''') is a group of components that provides remote users with a point of access to a network.<ref>{{Cite book |last=Clark |first=Martin P. |url=https://books.google.com/books?id=HccWEdLdacwC&pg=PA542 |title=Data Networks, IP and the Internet: Protocols, Design and Operation |date=2003-05-07 |publisher=[John Wiley & Sons](/source/John_Wiley_%26_Sons) |isbn=978-0-470-84856-2 |language=en |page=542}}</ref><ref>{{Cite book |last=Held |first=Gilbert |url=https://books.google.com/books?id=06uBL8vGpoIC&pg=PA205 |title=Network Design: Principles and Applications |date=2000-05-31 |publisher=[CRC Press](/source/CRC_Press) |isbn=978-1-4200-9375-9 |language=en |page=205}}</ref>

==Overview==
A NAS concentrates dial-in and dial-out user communications. An access server may have a mixture of analog and digital interfaces and support hundreds of simultaneous users. A NAS consists of a [communications processor](/source/communications_processor) that connects asynchronous devices to a [LAN](/source/LAN) or [WAN](/source/Wide_area_network) through network and [terminal emulation](/source/terminal_emulation) software. It performs both synchronous and asynchronous routing of supported protocols.

The NAS is meant to act as a [gateway](/source/Gateway_(telecommunications)) to guard access to a protected resource. This can be anything from a [telephone](/source/telephone) [network](/source/Telecommunications_network), to [printers](/source/computer_printer), to the [Internet](/source/Internet). A [client](/source/Client_(computing)) connects to the NAS. The NAS then connects to another resource asking whether the client's supplied [credentials](/source/credentials) are valid. Based on that answer the NAS then allows or disallows access to the protected resource.

==Examples==
The above translates into different implementations for different uses. Here are some examples.

*An [Internet service provider](/source/Internet_service_provider) which provides network access via common modem or modem-like devices (be it [PSTN](/source/PSTN), [DSL](/source/DSL), [cable](/source/cable_modem) or [GPRS](/source/GPRS)/[UMTS](/source/UMTS)) can have one or more NAS (network access server) devices which accept [PPP](/source/Point-to-Point_Protocol), [PPPoE](/source/PPPoE) or [PPTP](/source/PPTP) connections, checking credentials and recording accounting data via back-end [RADIUS](/source/RADIUS) servers, and allowing users access through that connection.
* The [captive portal](/source/captive_portal) mechanism used by many [WiFi](/source/WiFi) providers: a user wants to access the Internet and opens a [browser](/source/web_browser). The NAS detects that the user is not currently [authorized](/source/authorized) to have access to the Internet, so the NAS prompts the user for their username and password. The user supplies them and sends them back to the NAS. The NAS then uses the [RADIUS](/source/RADIUS) protocol to connect to an [AAA](/source/AAA_protocol) server and passes off the [username](/source/username) and [password](/source/password). The RADIUS server searches through its resources and finds that the credentials are valid and notifies the NAS that it should grant the access. The NAS then grants the user access to the Internet.
*Another use of a NAS would be in [voice over IP](/source/voice_over_IP) (VoIP). However, instead of using a username and password, many times a [phone number](/source/phone_number) or [IP Address](/source/IP_Address) are used. If the phone number is a valid customer then the call can be completed. Other uses might be to verify whether a phone number has [long distance](/source/long_distance_calling) access or a [telephone card](/source/telephone_card) has minutes left.

==Associated protocols==
Although not required, NASs are almost exclusively used with [authentication, authorization, and accounting](/source/AAA_protocol) (AAA) servers. Of the AAA protocols available, [RADIUS](/source/RADIUS) tends to be the most widely used. The [Diameter](/source/Diameter_(protocol)) base protocol extends RADIUS services by providing error handling and inter-domain communications. This protocol is used in networks like the [IP Multimedia Subsystem](/source/IP_Multimedia_Subsystem) (IMS).

==See also==
* [Terminal server](/source/Terminal_server)

==External links==
* {{Sum RFC|2881|ref=yes}}

==References==
{{reflist}}

{{DEFAULTSORT:Network Access Server}}
Category:Network access
Category:Telephony
Category:Telecommunications infrastructure

---
Adapted from the Wikipedia article [Network access server](https://en.wikipedia.org/wiki/Network_access_server) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Network_access_server?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
