共用方式為


安裝網路原則伺服器

您可以使用本主題來安裝網路原則伺服器 (NPS),方法是使用 Windows PowerShell 或 [新增角色及功能精靈]。 NPS 是網路原則與存取服務 (NPAS) 伺服器角色中的一個角色服務。

Note

根據預設,NPS 會接聽所有已安裝網路適配器上埠 1812、1813、1645 和 1646 的 RADIUS 流量。 如果您在安裝 NPS 時啟用具有進階安全性的 Windows 防火牆,這些埠的防火牆例外狀況會在因特網通訊協定第 6 版(IPv6) 和 IPv4 流量的安裝程式期間自動建立。 如果您的網路存取伺服器設定為透過這些預設值以外的埠傳送 RADIUS 流量,請在 NPS 安裝期間移除 Windows 防火牆中建立的例外狀況,並針對您用於 RADIUS 流量的埠建立例外狀況。

Administrative Credentials

To complete this procedure, you must be a member of the Domain Admins group.

使用 Windows PowerShell 安裝 NPS

若要使用 Windows PowerShell 執行此程式,請以系統管理員身分執行 Windows PowerShell,輸入下列命令,然後按 ENTER。

Install-WindowsFeature NPAS -IncludeManagementTools

使用伺服器管理員安裝 NPS

  1. On NPS1, in Server Manager, click Manage, and then click Add Roles and Features. "[新增角色及功能精靈] 已經開啟。"

  2. 在《您開始前》中,按下《下一步》

    Note

    如果您先前在執行 [新增角色及功能精靈] 時已經選取 [預設略過這個頁面],就不會顯示 [新增角色及功能精靈] 的 [在您開始前] 頁面。

  3. 在 [選取安裝類型] 中,確定已選取 [角色型或功能型安裝],然後按 [下一步]

  4. 在 [選取目的地伺服器] 中,確認已選取 [從伺服器集區選取伺服器]。 In Server Pool, ensure that the local computer is selected. Click Next.

  5. [選取伺服器角色][角色] 中,選取 [網路原則和存取服務]。 隨即開啟對話框,詢問它是否應該新增網路原則和存取服務所需的功能。 Click Add Features, and then click Next

  6. In Select features, click Next, and in Network Policy and Access Services, review the information that is provided, and then click Next.

  7. [選取角色服務] 中,按兩下 [網路原則伺服器]。 在 [新增網络原則伺服器所需的功能] 中,按兩下 [ 新增功能]。 Click Next.

  8. [確認安裝選項] 中,按 [如果需要,自動重新啟動目的地伺服器]。 When you are prompted to confirm this selection, click Yes, and then click Install. [安裝進度] 頁面會在安裝程式期間顯示狀態。 When the process completes, the message "Installation succeeded on ComputerName" is displayed, where ComputerName is the name of the computer upon which you installed Network Policy Server. Click Close.

For more information, see Manage NPSs.