設定 NPS UDP 連接埠資訊Configure NPS UDP Port Information

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

您可以使用下列程序,設定的網路原則 Server (NPS) 使用遠端驗證撥號使用者服務 (RADIUS) 驗證及計量流量的連接埠。You can use the following procedure to configure the ports that Network Policy Server (NPS) uses for Remote Authentication Dial-In User Service (RADIUS) authentication and accounting traffic.

根據預設,NPS RADIUS 連接埠上流量 1812 年、1813 年,1645 年和網際網路通訊協定第 6 版 (IPv6) 和 IPv4 1646 所有已安裝的網路介面卡接聽。By default, NPS listens for RADIUS traffic on ports 1812, 1813, 1645, and 1646 for both Internet Protocol version 6 (IPv6) and IPv4 for all installed network adapters.

注意

如果您解除安裝 IPv4 或 IPv6 網路介面卡、NPS 不會監視 RADIUS 傳輸通訊協定解除安裝。If you uninstall either IPv4 or IPv6 on a network adapter, NPS does not monitor RADIUS traffic for the uninstalled protocol.

連接埠值驗證 1812 年和 1813,用於會計是透過網際網路工程設計工作人員 (IETF) Rfc 2865 和 2866 年定義 RADIUS 標準連接埠。The port values of 1812 for authentication and 1813 for accounting are RADIUS standard ports defined by the Internet Engineering Task Force (IETF) in RFCs 2865 and 2866. 不過,預設許多存取伺服器用於連接埠 1645 驗證需求和 1646 年計量要求。However, by default, many access servers use ports 1645 for authentication requests and 1646 for accounting requests. 不論您要使用的連接埠號碼,請確定 NPS 及存取伺服器設定要使用相同的。No matter which port numbers you decide to use, make sure that NPS and your access server are configured to use the same ones.

[重要]如果您不使用 RADIUS 預設連接埠號碼,您必須設定例外防火牆允許上新的連接埠 RADIUS 流量本機電腦上。[IMPORTANT] If you do not use the RADIUS default port numbers, you must configure exceptions on the firewall for the local computer to allow RADIUS traffic on the new ports. 如需詳細資訊,請查看設定防火牆 RADIUS 流量的For more information, see Configure Firewalls for RADIUS Traffic.

資格在網域系統管理員,或相當於,才能完成此程序最小值。Membership in Domain Admins, or equivalent, is the minimum required to complete this procedure.

若要設定 NPS UDP 連接埠資訊To configure NPS UDP port information

  1. 打開 NPS 主機。Open the NPS console.
  2. 以滑鼠右鍵按一下的網路原則伺服器,然後按一下 [屬性Right-click Network Policy Server, and then click Properties.
  3. 按一下連接埠索引標籤,然後檢查 [連接埠的設定。Click the Ports tab, and then examine the settings for ports. 如果您 RADIUS 驗證與 RADIUS 計量 UDP 連接埠不同的預設值,提供(1812 年 1645 進行驗證,以及 1813 年及 1646,用於會計),輸入連接埠設定在驗證計量If your RADIUS authentication and RADIUS accounting UDP ports vary from the default values provided (1812 and 1645 for authentication, and 1813 and 1646 for accounting), type your port settings in Authentication and Accounting.
  4. 驗證或計量要求使用多個連接埠設定,來以逗號分隔連接埠號碼。To use multiple port settings for authentication or accounting requests, separate the port numbers with commas.

如需有關管理 NPS 的詳細資訊,請查看管理的網路原則伺服器]For more information about managing NPS, see Manage Network Policy Server.

如需 NPS 的詳細資訊,請查看的網路原則 Server (NPS)For more information about NPS, see Network Policy Server (NPS).