Step 1 Plan DirectAccess Infrastructure | Microsoft Learn
The first step of planning for a basic Remote Access deployment on a single server is to perform planning for the infrastructure required for the deployment. This topic describes the infrastructure planning steps:
| Task | Description |
| --- | --- |
| Plan network topology and settings | Decide where to place the Remote Access server (at the edge, or behind a Network Address Translation (NAT) device or firewall), and plan IP addressing and routing. |
| Plan firewall requirements | Plan for allowing Remote Access through edge firewalls. |
| Plan certificate requirements | Remote Access can use Kerberos or certificates for client authentication. In this basic Remote Access deployment, Kerberos is automatically configured and authentication is accomplished using a self-signed certificate issued automatically by the Remote Access server. |
| Plan DNS requirements | Plan DNS settings for the Remote Access server, infrastructure servers, local name resolution options, and client connectivity. |
| Plan Active Directory | Plan your domain controllers and Active Directory requirements. |
| Plan Group Policy Objects | Decide what GPOs are required in your organization and how to create or edit the GPOs. |
The planning tasks do not need to be done in a specific order.
Plan network topology and settings
Plan network adapters and IP addressing
-
Identify the network adapter topology you want to use. Remote Access can be set up with either of the following:
-
With two network adapters: Either at the edge with one network adapter connected to the Internet and the other to the internal network, or behind a NAT, firewall, or router device, with one network adapter connected to a perimeter network and the other to the internal network.
-
Behind a NAT device with one network adapter: The Remote Access server is installed behind a NAT device, and the single network adapter is connected to the internal network.
-
Identity your IP addressing requirements:
DirectAccess uses IPv6 with IPsec to create a secure connection between DirectAccess client computers and the internal corporate network. However, DirectAccess does not necessarily require connectivity to the IPv6 Internet or native IPv6 support on internal networks. Instead, it automatically configures and uses IPv6 transition technologies to tunnel IPv6 traffic across the IPv4 Internet (6to4, Teredo, IP-HTTPS) and across your IPv4-only intranet (NAT64 or ISATAP). For an overview of these transition technologies, see the following resources:
-
Configure required adapters and addressing according to the following table. For deployments behind a NAT device using a single network adapter, configure your IP addresses using only the 'Internal network adapter' column.
| IP address type | External network adapter | Internal network adapter | Routing requirements |
| --- | --- | --- | --- |
| IPv4 intranet and IPv4 Internet | Configure the following:- One static public IPv4 address with the appropriate subnet masks.- A default gateway IPv4 address of your Internet firewall or local Internet service provider (ISP) router. | Configure the following:- An IPv4 intranet address with the appropriate subnet mask.- A connection-specific DNS suffix of your intranet namespace. The DNS Server must also be configured on the Internal interface.- Do not configure a default gateway on any intranet interfaces. | To configure the Remote Access server to reach all subnets on the internal IPv4 network do the following:1. List the IPv4 address spaces for all the locations on your intranet.2. Use the route add -p or netsh interface ipv4 add route commands to add the IPv4 address spaces as static routes in the IPv4 routing table of the Remote Access server. |
| IPv6 Internet and IPv6 intranet | Configure the following:- Use the autoconfigured address configuration provided by your ISP.- Use the route print command to ensure that a default IPv6 route pointing to the ISP router exists in the IPv6 routing table.- Determine whether the ISP and intranet routers are using default router preferences described in RFC 4191, and using a higher default preference than your local intranet routers. If both of these are true, no other configuration for the default route is required. The higher preference for the ISP router ensures that the active default IPv6 route of the Remote Access server points to the IPv6 Internet.Because the Remote Access server is an IPv6 router, if you have a native IPv6 infrastructure, the Internet interface can also reach the domain controllers on the intranet. In this case, add packet filters to the domain controller in the perimeter network that prevent connectivity to the IPv6 address of the Internet-facing interface of the Remote Access server. | Configure the following:- If you are not using default preference levels, configure your intranet interfaces with the netsh interface ipv6 set InterfaceIndex ignoredefaultroutes=enabled command. This command ensures that additional default routes pointing to intranet routers will not be added to the IPv6 routing table. You can obtain the InterfaceIndex of your intranet interfaces from the display of the netsh interface show interface command. | If you have an IPv6 intranet, to configure the Remote Access server to reach all of the IPv6 locations, do the following:1. List the IPv6 address spaces for all the locations on your intranet.2. Use the netsh interface ipv6 add route command to add the IPv6 address spaces as static routes in the IPv6 routing table of the Remote Access server. |
| IPv6 Internet and IPv4 intranet | The Remote Access server forwards default IPv6 route traffic using the Microsoft 6to4 Adapter interface to a 6to4 relay on the IPv4 Internet. You can configure a Remote Access server for the IPv4 address of the Microsoft 6to4 relay on the IPv4 Internet (used when native IPv6 is not deployed in the corporate network) with the following command : netsh interface ipv6 6to4 set relay name=192.88.99.1 state=enabled command. | | |
Note
-
If the DirectAccess client has been assigned a public IPv4 address, it will use the 6to4 transition technology to connect to the intranet. If the DirectAccess client cannot connect to the DirectAccess server with 6to4, it will use IP-HTTPS.
-
Native IPv6 client computers can connect to the Remote Access server over native IPv6, and no transition technology is required.
Plan firewall requirements
If the Remote Access server is behind an edge firewall, the following exceptions will be required for Remote Access traffic when the Remote Access server is on the IPv4 Internet:
-
6to4 traffic -IP Protocol 41 inbound and outbound.
-
IP-HTTPS -Transmission Control Protocol (TCP) destination port 443, and TCP source port 443 outbound.
-
If you are deploying Remote Access with a single network adapter, and installing the network location server on the Remote Access server, TCP port 62000 should also be exempted.
The following exceptions will be required for Remote Access traffic when the Remote Access server is on the IPv6 Internet:
-
IP Protocol 50
-
UDP destination port 500 inbound, and UDP source port 500 outbound.
When using additional firewalls, apply the following internal network firewall exceptions for Remote Access traffic:
-
ISATAP -Protocol 41 inbound and outbound
-
TCP/UDP for all IPv4/IPv6 traffic
Plan certificate requirements
Certificate requirements for IPsec include a computer certificate used by DirectAccess client computers when establishing the IPsec connection between the client and the Remote Access server, and a computer certificate used by Remote Access servers to establish IPsec connections with DirectAccess clients. For DirectAccess in Windows Server 2012 the use of these IPsec certificates is not mandatory. The Enable DirectAccess Wizard configures the Remote Access server to act as a Kerberos proxy to perform IPsec authentication without requiring certificates.
-
IP-HTTPS server: When you configure Remote Access, the Remote Access server is automatically configured to act as the IP-HTTPS web listener. The IP-HTTPS site requires a website certificate, and client computers must be able to contact the certificate revocation list (CRL) site for the certificate. The Enable DirectAccess wizard tries to use the SSTP VPN certificate. If SSTP is not configured, it checks if a certificate for IP-HTTPS is present in the machine personal store. If none is available, it automatically creates a self-signed certificate.
-
Network location server: The network location server is a website used to detect whether client computers are located in the corporate network. The network location server requires a website certificate. DirectAccess clients must be able to contact the CRL site for the certificate. The Enable DirectAccess wizard checks if a certificate for Network Location Server is present in the machine personal store. If not present, it automatically creates a self-signed certificate.
The certification requirements for each of these are summarized in the following table:
| IPsec authentication | IP-HTTPS server | Network location server |
| --- | --- | --- |
| An internal CA is required to issue computer certificates to the Remote Access server and clients for IPsec authentication when you don't use the Kerberos proxy for authentication | Public CA: We recommend using a public CA to issue the IP-HTTPS certificate, this ensures that the CRL distribution point is available externally. | Internal CA: You can use an internal CA to issue the network location server website certificate. Make sure that the CRL distribution point is highly available from the internal network. |
| | Internal CA: You can use an internal CA to issue the IP-HTTPS certificate; however, you must make sure that the CRL distribution point is available externally. | Self-signed certificate: You can use a self-signed certificate for the network location server website; however, you cannot use a self-signed certificate in multisite deployments. |
| | Self-signed certificate: You can use a self-signed certificate for the IP-HTTPS server; however, you must make sure that the CRL distribution point is available externally. A self-signed certificate cannot be used in a multisite deployment. | |
Plan certificates for IP-HTTPS
The Remote Access server acts as an IP-HTTPS listener, and you must manually install an HTTPS website certificate on the server. Note the following when planning:
-
Using a public CA is recommended, so that CRLs are readily available.
-
In the subject field, specify either the IPv4 address of the Internet adapter of Remote Access server, or the FQDN of the IP-HTTPS URL (the ConnectTo address). If the Remote Access server is located behind a NAT device, the public name or address of the NAT device should be specified.
-
The common name of the certificate should match the name of the IP-HTTPS site.
-
For the Enhanced Key Usage field, use the Server Authentication object identifier (OID).
-
For the CRL Distribution Points field, specify a CRL distribution point that is accessible by DirectAccess clients that are connected to the Internet.
-
The IP-HTTPS certificate must have a private key.
-
The IP-HTTPS certificate must be imported directly into the personal store.
-
IP-HTTPS certificates can have wildcards in the name.
Plan website certificates for the network location server
When planning for the network location server website, note the following:
-
In the Subject field, specify either an IP address of the intranet interface of the network location server or the FQDN of the network location URL.
-
For the Enhanced Key Usage field, use the Server Authentication OID.
-
For the CRL Distribution Points field, a CRL distribution point that is accessible by DirectAccess clients that are connected to the intranet. This CRL distribution point should not be accessible from outside the internal network.
-
If you are later planning to configure a multisite or cluster deployment, the name of the certificate should not match the internal name of the Remote Access server.
