Step 1 Configure the Remote Access Infra·续
-
Repeat this process for directaccess-corpconnectivityhost and any manually created connectivity verifiers. In the DNS dialog box, click OK.
-
Click Done.
Windows 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.
Add-DnsServerResourceRecordA -Name <network_location_server_name> -ZoneName <DNS_zone_name> -IPv4Address <network_location_server_IPv4_address>
Add-DnsServerResourceRecordAAAA -Name <network_location_server_name> -ZoneName <DNS_zone_name> -IPv6Address <network_location_server_IPv6_address>
You must also configure DNS entries for the following:
- The IP-HTTPS server
DirectAccess clients must be able to resolve the DNS name of the Remote Access server from the Internet.
- CRL revocation checking
DirectAccess uses certificate revocation checking for the IP-HTTPS connection between DirectAccess clients and the Remote Access server, and for the HTTPS-based connection between the DirectAccess client and the network location server. In both cases, DirectAccess clients must be able to resolve and access the CRL distribution point location.
- ISATAP
Intrasite Automatic Tunnel Addressing Protocol (ISATAP) uses tunnels to enable DirectAccess clients to connect to the Remote Access server over the IPv4 Internet, encapsulating IPv6 packets within an IPv4 header. It is used by Remote Access to provide IPv6 connectivity to ISATAP hosts across an intranet. In a non-native IPv6 network environment, the Remote Access server configures itself automatically as an ISATAP router. Resolution support for the ISATAP name is required.
Configure Active Directory
The Remote Access server and all DirectAccess client computers must be joined to an Active Directory domain. DirectAccess client computers must be a member of one of the following domain types:
-
Domains that belong in the same forest as the Remote Access server.
-
Domains that belong to forests with a two-way trust with the Remote Access server forest.
-
Domains that have a two-way domain trust to the Remote Access server domain.
To join the Remote Access server to a domain
-
In Server Manager, click Local Server. In the details pane, click the link next to Computer name.
-
In the System Properties dialog box, click the Computer Name tab, and then click Change.
-
In the Computer Name box, type the name of the computer if you are also changing the computer name when joining the server to the domain. Under Member of, click Domain, and then type the name of the domain to which you want to join the server, (for example, corp.contoso.com), and then click OK.
-
When you are prompted for a user name and password, enter the user name and password of a user with permissions to join computers to the domain, and then click OK.
-
When you see a dialog box welcoming you to the domain, click OK.
-
When you are prompted that you must restart the computer, click OK.
-
In the System Properties dialog box, click Close.
-
When you are prompted to restart the computer, click Restart Now.
To join client computers to the domain
-
On the Start screen, typeexplorer.exe, and then press ENTER.
-
Right-click the Computer icon, and then click Properties.
-
On the System page, click Advanced system settings.
-
In the System Properties dialog box, on the Computer Name tab, click Change.
-
In the Computer name box, type the name of the computer if you are also changing the computer name when joining the server to the domain. Under Member of, click Domain, and then type the name of the domain to which you want to join the server (for example, corp.contoso.com), and then click OK.
-
When you are prompted for a user name and password, enter the user name and password of a user with permissions to join computers to the domain, and then click OK.
-
When you see a dialog box welcoming you to the domain, click OK.
-
When you are prompted that you must restart the computer, click OK.
-
In the System Properties dialog box, click Close.
-
Click Restart Now when prompted.
Windows 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.
Note
You must supply domain credentials after you enter the following command.
Add-Computer -DomainName <domain_name>
Restart-Computer
Configure GPOs
To deploy Remote Access, you require a minimum of two Group Policy Objects. One Group Policy Object contains settings for the Remote Access server, and one contains settings for DirectAccess client computers. When you configure Remote Access, the wizard automatically creates the required Group Policy Objects. However, if your organization enforces a naming convention, or you do not have the required permissions to create or edit Group Policy Objects, they must be created prior to configuring Remote Access.
To create Group Policy Objects, see Create and Edit a Group Policy Object.
An administrator can manually link the DirectAccess Group Policy Objects to an organizational unit (OU). Consider the following:
-
Link the created GPOs to the respective OUs before you configure DirectAccess.
-
When you configure DirectAccess, specify a security group for the client computers.
-
The GPOs are configured automatically, regardless of if the administrator has permissions to link the GPOs to the domain.
-
If the GPOs are already linked to an OU, the links will not be removed, but they are not linked to the domain.
-
For server GPOs, the OU must contain the server computer object-otherwise, the GPO will be linked to the root of the domain.
-
If the OU has not been linked previously by running the DirectAccess Setup Wizard, after the configuration is complete, the administrator can link the DirectAccess GPOs to the required OUs, and remove the link to the domain.
For more information, see Link a Group Policy Object.
Note
If a Group Policy Object was created manually, it is possible that the Group Policy Object will not be available during the DirectAccess configuration. The Group Policy Object may not have been replicated to the domain controller closest to the management computer. The administrator can wait for replication to complete or force the replication.
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 configuring Remote Access.
To create a security group for DirectAccess clients
-
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.
-
In the New Object - Group dialog box, under Group name, enter the name for the security group.
-
Under Group scope, click Global, and under Group type, click Security, and then click OK.
-
Double-click the DirectAccess client computers security group, and in the Properties dialog box, click the Members tab.
-
On the Members tab, click Add.
-
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 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>
Configure the network location server
The network location server should be on a server with high availability, and it needs a valid Secure Sockets Layer (SSL) certificate that is trusted by the DirectAccess clients.
Note
If the network location server website is located on the Remote Access server, a website will be created automatically when you configure Remote Access and it is bound to the server certificate that you provide.
There are two certificate options for the network location server certificate:
- Private
Note
The certificate is based on the certificate template that you created in Configuring certificate templates.
- Self-signed
Note
Self-signed certificates cannot be used in multisite deployments.
Whether you use a private certificate or a self-signed certificate, they require the following:
-
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 on the internal network.
To install the network location server certificate from an internal CA
-
On the server that will host the network location server website: On the Start screen, typemmc.exe, and then press ENTER.
-
In the MMC console, on the File menu, click Add/Remove Snap-in.
-
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.
-
In the console tree of the Certificates snap-in, open Certificates (Local Computer)\Personal\Certificates.
-
Right-click Certificates, point to All Tasks, click Request New Certificate, and then click Next twice.
-
On the Request Certificates page, select the check box for the certificate template that you created in Configuring certificate templates, and if required, click More information is required to enroll for this certificate.
-
In the Certificate Properties dialog box, on the Subject tab, in the Subject name area, in Type, select Common Name.
-
In Value, enter the FQDN of the network location server website, and then click Add.
-
In the Alternative name area, in Type, select DNS.
-
In Value, enter the FQDN of the network location server website, and then click Add.
-
On the General tab, in Friendly name, you can enter a name that will help you identify the certificate.
-
Click OK, click Enroll, and then click Finish.
-
In the details pane of the Certificates snap-in, verify that new certificate was enrolled with the intended purpose of server authentication.
To configure the network location server
- 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.
This step is not required if the network location server website is hosted on the Remote Access server.
- 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.
This step is not required if the network location server website is hosted on the Remote Access server.
- Set up a CRL site that has high availability on the internal network.
CRL distribution points can be accessed through:
-
Web servers that use 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. This exempts IPsec protection from the IPv6 address space of your intranet to the IPv6 addresses of your CRL distribution points.
- Ensure that DirectAccess clients on the internal network can resolve the name of the network location server, and that DirectAccess clients on the Internet cannot resolve the name.
