NPS 範本NPS Templates

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

網路原則伺服器 (NPS) 範本可讓您建立設定項目,例如撥號使用者服務遠端驗證 (RADIUS) 戶端或共用的密碼,您可以在本機伺服器 NPS 及匯出其他 NPS 伺服器上使用重複使用。Network Policy Server (NPS) templates allow you to create configuration elements, such as Remote Authentication Dial-In User Service (RADIUS) clients or shared secrets, that you can reuse on the local NPS server and export for use on other NPS servers.

NPS 範本專為減少的時間和成本所需設定 NPS 一或多個的伺服器上。NPS templates are designed to reduce the amount of time and cost that it takes to configure NPS on one or more servers. 適用於管理範本 ] 中的設定下列 NPS 範本類型︰The following NPS template types are available for configuration in Templates Management:

  • 共用的密碼Shared Secrets
  • RADIUS 戶端RADIUS Clients
  • 遠端 RADIUS 伺服器Remote RADIUS Servers
  • IP 篩選IP Filters
  • 補救伺服器群組Remediation Server Groups

設定範本與不同直接設定 NPS 伺服器。Configuring a template is different than configuring the NPS server directly. 建立範本不會影響 NPS 伺服器的功能。Creating a template does not affect the NPS server's functionality. 它是只有當您選取範本中 NPS 主控台範本影響 NPS 功能伺服器的適當位置。It is only when you select the template in the appropriate location in the NPS console that the template affects the NPS server functionality.

例如,如果您可以設定 RADIUS client NPS RADIUS 戶端及伺服器主控台中,變更 NPS 伺服器設定也可以拍攝設定 NPS 與您的網路存取伺服器 (NAS's) 其中一個步驟。For example, if you configure a RADIUS client in the NPS console under RADIUS Clients and Servers, you have altered the NPS server configuration and taken one step in configuring NPS to communicate with one of your network access servers (NAS's). \ (下一步就是設定通訊具有 NPS。NAS ) 不過,如果您在 NPS 主機中設定新 RADIUS 戶端範本管理範本而非建立新的 RADIUS client 在RADIUS 戶端與伺服器、建立範本,但您無法更動 NPS 伺服器功能尚未。(The next step would be to configure the NAS to communicate with NPS.) However, if you configure a new RADIUS Clients template in the NPS console under Templates Management rather than creating a new RADIUS client under RADIUS Clients and Servers, you have created a template, but you have not altered the NPS server functionality yet. 若要變更的 NPS server 功能,您必須選取範本 NPS 主控台位置正確。To alter the NPS server functionality, you must select the template from the correct location in the NPS console.

建立範本Creating templates

若要建立範本,開放 NPS 主機上按一下滑鼠右鍵範本類型,例如IP 篩選器,然後按一下 [新增]To create a template, open the NPS console, right-click a template type, such as IP Filters, and then click New. 新範本屬性對話方塊,可讓您設定您的範本。A new template properties dialog box opens that allows you to configure your template.

在本機使用範本Using templates locally

您可以使用您所建立的範本管理範本藉由瀏覽至範本可在套用 NPS 主機的位置。You can use a template that you've created in Templates Management by navigating to a location in the NPS console where the template can be applied. 例如您建立新分享機密範本,如果您想要 RADIUS client 設定,適用於在RADIUS 戶端與伺服器RADIUS 戶端,開放 RADIUS client 屬性。For example, if you create a new Shared Secrets template that you want to apply to a RADIUS client configuration, in RADIUS Clients and Servers and RADIUS Clients, open the RADIUS client properties. 選取現有的共用機密範本,選取您先前建立的清單中可用的範本範本。In Select an existing Shared Secrets template, select the template you previously created from the list of available templates.

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