Step 2: Installing RD Gateway
Aktualizováno: červen 2009
Rozsah platnosti: Windows 7, Windows Server 2008 R2
To install and configure an Brána VP server, you must add the Brána VP role service. Windows Server 2008 R2 includes the option to install the Brána VP role service by using Správce serveru. This topic covers the installation and configuration of the Brána VP role service on the RDG-SRV computer in the CONTOSO domain.
Tento postup mohou provádět pouze členové místní skupiny Administrators nebo uživatelé s ekvivalentními oprávněními na serveru služby Brána VP, který chcete konfigurovat. V tématu Výchozí místní skupiny a výchozí skupiny domény (http://go.microsoft.com/fwlink/?LinkId=83477) (stránka může být v angličtině) zkontrolujte podrobnosti o používání příslušných účtů a členství ve skupinách.
-
Log on to RDG-SRV as CONTOSO\Administrator.
-
Open Správce serveru. Chcete-li spustit Správce serveru, klepněte na tlačítko Start, přejděte na položku Nástroje pro správu a pak klepněte na příkaz Správce serveru.
-
Under the Roles Summary heading, click Add Roles.
-
In the Add Roles Wizard, if the Before You Begin page appears, click Next.
-
On the Select Server Roles page, under roles, select the Remote Desktop Services check box, and then click Next.
-
On the Remote Desktop Services page, click Next.
-
On the Select Role Services page, select the Remote Desktop Gateway check box.
-
If prompted to specify whether you want to install the additional role services required for Remote Desktop Gateway, click Add Required Role Services.
-
On the Select Role Services page, click Next.
-
On the Choose a Server Authentication Certificate for SSL Encryption page, select Create a self-signed certificate for SSL encryption, and then click Next.
-
On the Create Authorization Policies for RD Gateway page, select Now, and then click Next.
-
On the Select User Groups That Can Connect Through RD Gateway page, click Add. In the Select Groups dialog box, specify Domain Users, and then click OK to close the Select Groups dialog box. Click Next.
-
On the Create an RD CAP for RD Gateway page, enter the name RD_CAP_01 for the Zásady autorizace připojení k Vzdálené ploše (Zásady CAP k Vzdálené ploše), select Password, and then click Next.
-
On the Create an RD RAP for RD Gateway page, enter the name RD_RAP_01 for the Zásady Vzdálené plochy pro autorizaci prostředků (Zásady VP pro autorizaci prostředků), and then select Allow users to connect to any computer on the network. Click Next.
-
On the Select User Groups That Can Connect Through RD Gateway page, click Add. In the Select Groups dialog box, specify Domain Users, and then click OK to close the Select Groups dialog box. Click Next.
-
On the Network Policy and Access Services page (which appears if this role service is not already installed), review the summary information, and then click Next.
-
On the Select Role Services page, verify that Network Policy Server is selected, and then click Next.
-
On the Web Server (IIS) page (which appears if this role service is not already installed), review the summary information, and then click Next.
-
On the Select Role Services page, accept the default selections for Web Server (IIS), and then click Next.
-
On the Confirm Installation Selections page, verify that the following role services will be installed:
-
Vzdálená plocha\Brána VP
-
Network Policy and Access Services\Network Policy Server
-
Web Server (IIS)
-
RPC over HTTP Proxy
-
Vzdálená plocha\Brána VP
-
Click Install.
-
On the Installation Progress page, installation progress will be noted.
-
On the Installation Results page, confirm that installation for these roles, role services, and features was successful, and then click Close.
-
On the Brána VP server, open the Certificates snap-in console. If you have not already added the Certificates snap-in console, you can do so by doing the following:
-
Click Start, click Run, type mmc and then click OK.
-
On the File menu, click Add/Remove Snap-in.
-
In the Add or Remove Snap-ins dialog box, in the Available snap-ins list, click Certificates, and then click Add.
-
In the Certificates snap-in dialog box, click Computer account, and then click Next.
-
In the Select Computer dialog box, click Local computer: (the computer this console is running on), and then click Finish.
-
In the Add or Remove snap-ins dialog box, click OK.
-
Click Start, click Run, type mmc and then click OK.
-
In the Certificates snap-in console, in the console tree, expand Certificates (Local Computer), expand Personal, and then click Certificates.
-
Right-click the certificate RDG-SRV.contoso.com, point to All Tasks, and then click Export.
-
On the Welcome to the Certificate Export Wizard page, click Next.
-
On the Export Private Key page, click No, do not export private key, and then click Next.
-
On the Export File Format page, ensure that DER encoded binary X.509 (.CER) is selected, and then click Next.
-
On the File to Export page, in the File name box, click Browse.
-
In the Save As dialog box, in the File name box, enter RDG-SRV, and then click Save.
-
On the File to Export page, click Next.
-
On the Completing the Certificate Export Wizard page, confirm that the correct certificate is specified, that Export Keys is set to No, and that Include all certificates in the certification path is set to No, and then click Finish.
-
After the certificate export has successfully completed, a message appears confirming that the export was successful. Click OK.
-
Close the Certificates snap-in.
-
Copy the Brána VP server certificate c:\users\administrator.CONTOSO\Documents\RDG-SRV.cer, to the CONTOSO-CLNT computer.
Poznámka |
|---|
| For single sign on, no changes are needed on the Brána VP server. Review Deploying Remote Desktop Web Access with Remote Desktop Connection Broker Step-by-Step Guide to implement single sign on. |
You have installed and configured an Brána VP server. Now you can proceed to Step 3: Verifying RD Gateway Functionality.

Poznámka