Step 1 Configure Advanced DirectAccess I·续2

To create Group Policy Objects, see Create and Edit a Group Policy Object.

  1. To link the production GPOs, see Link a Group Policy Object.

  2. Grant the Remote Access administrator Edit settings, delete and modify security permissions on all of the staging GPOs. For more information, see Delegate Permissions for a Group or User on a Group Policy Object.

  3. Deny the Remote Access administrator permissions to link GPOs in all domains (or verify that the Remote Access administrator doesn't have such permissions). For more information, see Delegate Permissions to Link Group Policy Objects.

When Remote Access administrators configure Remote Access, they should always specify only the staging GPOs (not the production GPOs). This is true in the initial configuration of Remote Access and when performing additional configuration operations where additional GPOs are required; for example, when adding entry points in a multisite deployment or enabling client computers in additional domains.

After the Remote Access administrator completes any changes to the Remote Access configuration, the domain administrator should review the settings in the staging GPOs, and use the following procedure to copy the settings to the production GPOs.

Tip

Perform the following procedure after each change of the Remote Access configuration.

To copy settings to the production GPOs
  1. Verify that all of the staging GPOs in the Remote Access deployment have been replicated to all of the domain controllers in the domain. This is required to ensure the most up-to-date configuration is imported to the production GPOs. For more information, see Check Group Policy Infrastructure Status.

  2. Export the settings by backing up all of the staging GPOs in the Remote Access deployment. For more information, see Back Up a Group Policy Object.

  3. For each production GPO, change the security filters to match the security filters of the corresponding staging GPO. For more information, see Filter Using Security Groups.

Note

This is required because Import Settings does not copy the security filter of the source GPO.

  1. For each production GPO, import the settings from the backup of the corresponding staging GPO as follows:

  2. In the Group Policy Management Console (GPMC), expand the Group Policy Objects node in the forest and domain that contains the production Group Policy Object into which the settings will be imported.

  3. Right-click the GPO, and click Import Settings.

  4. In the Import Settings Wizard, on the Welcome page, click Next.

  5. On the Backup GPO page, click Backup.

  6. In the Back up Group Policy Object dialog box, in the Location box, enter the path for the location where you want to store the GPO backups, or click Browse to locate the folder.

  7. In the Description box, type a description for the production GPO, and then click Back Up.

  8. When the backup completes, click OK, and then on the Backup GPO page, click Next.

  9. On the Backup location page, in the Backup folder box, enter the path for the location in which the backup of the corresponding staging GPO was stored in Step 2, or click Browse to locate the folder, and then click Next.

  10. On the Source GPO page, select the Show only the latest version of each GPO check box to hide older backups, and select the corresponding staging GPO. Click View Settings to review the Remote Access settings before applying them to the production GPO, and then click Next.

  11. On the Scanning Backup page, click Next, and then click Finish.

Windows PowerShellWindows PowerShell equivalent commands

The following Windows PowerShell cmdlet or cmdlets perform the same function as the preceding procedure. Enter each cmdlet on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.

  • To back up the staging client GPO "DirectAccess Client Settings - Staging" in domain "corp.contoso.com" to the backup folder "C:\Backups":

$backup = Backup-GPO "Name 'DirectAccess Client Settings - Staging' "Domain 'corp.contoso.com' "Path 'C:\Backups\'

  • To see the security filtering of the staging client GPO "DirectAccess Client Settings - Staging" in domain "corp.contoso.com":

Get-GPPermission "Name 'DirectAccess Client Settings - Staging' "Domain 'corp.contoso.com' "All | ?{ $_.Permission "eq 'GpoApply'}

  • To add the security group "corp.contoso.com\DirectAccess clients" to the security filter of the production client GPO "DirectAccess Client Settings " Production" in domain "corp.contoso.com":

Set-GPPermission "Name 'DirectAccess Client Settings - Production' "Domain 'corp.contoso.com' "PermissionLevel GpoApply "TargetName 'corp.contoso.com\DirectAccess clients' "TargetType Group

  • To import settings from the backup to the production client GPO "DirectAccess Client Settings " Production" in domain "corp.contoso.com":

Import-GPO "BackupId $backup.Id "Path $backup.BackupDirectory "TargetName 'DirectAccess Client Settings - Production' "Domain 'corp.contoso.com'

1.9 Configure security groups

The DirectAccess settings that are contained in the client computer Group Policy Object are applied only to computers that are members of the security groups that you specify when you configure Remote Access. In addition, if you are using security groups to manage your application servers, create a security group for these servers.

To create a security group for DirectAccess clients

  1. On the Start screen, typedsa.msc, and then press ENTER. In the Active Directory Users and Computers console, in the left pane, expand the domain that will contain the security group, right-click Users, point to New, and then click Group.

  2. In the New Object - Group dialog box, under Group name, enter the name for the security group.

  3. Under Group scope, click Global, and under Group type, click Security, and then click OK.

  4. Double-click the DirectAccess client computers security group, and in the properties dialog box, click the Members tab.

  5. On the Members tab, click Add.

  6. In the Select Users, Contacts, Computers, or Service Accounts dialog box, select the client computers that you want to enable for DirectAccess, and then click OK.

Windows PowerShellWindows PowerShell equivalent commands

The following Windows PowerShell cmdlet or cmdlets perform the same function as the preceding procedure. Enter each cmdlet on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.


New-ADGroup -GroupScope global -Name <DirectAccess_clients_group_name>

Add-ADGroupMember -Identity DirectAccess_clients_group_name -Members <computer_name>

1.10 Configure the network location server

The network location server should be a server with high availability, and it should have a valid SSL certificate that is trusted by the DirectAccess clients. There are two certificate options for the network location server certificate:

  • Private certificate

This certificate is based on the certificate template that you created by following the instructions in 1.5.2 Configure certificate templates.

  • Self-signed certificate

Note

Self-signed certificates cannot be used in multisite deployments.

The following are required for either type of certificate, if they do not already exist:

  • A website certificate that is used for the network location server. The certificate subject should be the URL of the network location server.

  • A CRL distribution point that has high availability from the internal network.

Note

If the network location server website is located on the DirectAccess server, a website is created automatically when you configure Remote Access. This site is bound to the server certificate that you provide.

To install the network location server certificate from an internal CA

  1. On the server that will host the network location server website: On the Start screen, typemmc.exe, and then press ENTER.

  2. In the MMC console, on the File menu, click Add/Remove Snap-in.

  3. In the Add or Remove Snap-ins dialog box, click Certificates, click Add, click Computer account, click Next, click Local computer, click Finish, and then click OK.

  4. In the console tree of the Certificates snap-in, open Certificates (Local Computer)\Personal\Certificates.

  5. Right-click Certificates, point to All Tasks, and then click Request New Certificate.

  6. Click Next twice.

  7. On the Request Certificates page, select the check box for the certificate template that you created by following the instructions in 1.5.2 Configure certificate templates. If required, click More information is required to enroll for this certificate.

  8. In the Certificate Properties dialog box, on the Subject tab, in the Subject name area, in Type, select Common Name.

  9. In Value, enter the FQDN of the network location server website, and then click Add.

  10. In the Alternative name area, in Type, select DNS.

  11. In Value, enter the FQDN of the network location server website, and then click Add.

  12. On the General tab, in Friendly name, you can enter a name that will help you identify the certificate.

  13. Click OK, click Enroll, and then click Finish.

  14. In the details pane of the Certificates snap-in, verify that new certificate was enrolled with Intended Purposes of Server Authentication.

To configure the network location server

  1. Set up a website on a high availability server. The website does not require any content, but when you test it, you might define a default page that provides a message when clients connect.

Note

This step is not required if the network location server website is hosted on the DirectAccess server.

  1. Bind an HTTPS server certificate to the website. The common name of the certificate should match the name of the network location server site. Ensure that DirectAccess clients trust the issuing CA.

Note

This step is not required if the network location server website is hosted on the DirectAccess server.

  1. Set up a CRL site that has high availability from the internal network.

CRL distribution points can be accessed through:

  • Web servers by using an HTTP-based URL, such as: https://crl.corp.contoso.com/crld/corp-APP1-CA.crl

  • File servers that are accessed through a universal naming convention (UNC) path, such as \crl.corp.contoso.com\crld\corp-APP1-CA.crl

If the internal CRL distribution point is reachable only over IPv6, you must configure a Windows Firewall with Advanced Security connection security rule to exempt IPsec protection from the IPv6 address of your intranet to the IPv6 addresses of your CRL distribution points.

  1. Ensure that DirectAccess clients on the internal network can resolve the name of the network location server. Ensure that the name is not resolvable by DirectAccess clients on the Internet.

Next step