Step 1 Plan the Remote Access Infrastructure | Microsoft Learn

Note

Windows Server 2016 combines DirectAccess and Routing and Remote Access Service (RRAS) into a single Remote Access role.

This topic describes the steps for planning an infrastructure that you can use to set up a single Remote Access server for remote management of DirectAccess clients. The following table lists the steps, but these planning tasks do not need to be done in a specific order.

| Task | Description |

| --- | --- |

| Plan network topology and server 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 | Decide if you will use Kerberos protocol or certificates for client authentication, and plan your website certificates.IP-HTTPS is a transition protocol that is used by DirectAccess clients to tunnel IPv6 traffic over IPv4 networks. Decide whether to authenticate IP-HTTPS for the server by using a certificate that is issued by a certification authority (CA), or by using a self-signed certificate that is issued automatically by the Remote Access server. |

| Plan DNS requirements | Plan the Domain Name System (DNS) settings for the Remote Access server, infrastructure servers, local name resolution options, and client connectivity. |

| Plan the network location server configuration | Decide where to place the network location server website in your organization (on the Remote Access server or an alternative server), and plan the certificate requirements if the network location server will be located on the Remote Access server. Note: The network location server is used by DirectAccess clients to determine whether they are located on the internal network. |

| Plan management servers' configurations | Plan for management servers (such as update servers) that are used during remote client management. Note: Administrators can remotely manage DirectAccess client computers that are located outside the corporate network by using the Internet. |

| Plan Active Directory requirements | Plan your domain controllers, your Active Directory requirements, client authentication, and multiple domain structure. |

| Plan Group Policy Object creation | Decide what GPOs are required in your organization and how to create and edit the GPOs. |

Plan network topology and settings

When you plan your network, you need to consider the network adapter topology, settings for IP addressing, and requirements for ISATAP.

Plan network adapters and IP addressing

  1. Identify the network adapter topology that you want to use. Remote Access can be set up with any of the following topologies:

  2. With two network adapters: The Remote Access server is installed at the edge with one network adapter connected to the Internet and the other to the internal network.

  3. With two network adapters: The Remote Access server is installed behind a NAT device, firewall, or router, with one network adapter connected to a perimeter network and the other to the internal network.

  4. 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.

  5. Identify 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, or IP-HTTPS) and across your IPv4-only intranet (NAT64 or ISATAP). For an overview of these transition technologies, see the following resources:

| Description | External network adapter | Internal network adapter^1, above^ | Routing requirements |

| --- | --- | --- | --- |

| IPv4 Internet and IPv4 intranet | Configure the following:- Two static consecutive public IPv4 addresses with the appropriate subnet masks (required for Teredo only).- A default gateway IPv4 address for your Internet firewall or local Internet service provider (ISP) router. Note: The Remote Access server requires two consecutive public IPv4 addresses so that it can act as a Teredo server and Windows-based Teredo clients can use the Remote Access server to detect the type of NAT device. | Configure the following:- An IPv4 intranet address with the appropriate subnet mask.- A connection-specific DNS suffix for your intranet namespace. A DNS server should also be configured on the internal interface. Caution: 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:- List the IPv4 address spaces for all the locations on your intranet.- 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 that points to the ISP router exists in the IPv6 routing table.- Determine if the ISP and intranet routers are using default router preferences as described in RFC 4191, and if they are use 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 interface of the Remote Access server. | Configure the following:If you are not using default preference levels, configure your intranet interfaces by using the netsh interface ipv6 set InterfaceIndex ignoredefaultroutes=enabled command. This command ensures that additional default routes that point 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:- List the IPv6 address spaces for all the locations on your intranet.- 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. |

| IPv4 Internet and IPv6 intranet | The Remote Access server forwards default IPv6 route traffic by using the Microsoft 6to4 adapter interface to a 6to4 relay on the IPv4 Internet. When native IPv6 is not deployed in the corporate network, you can use the following command to configure a Remote Access server for the IPv4 address of the Microsoft 6to4 relay on the IPv4 Internet: netsh interface ipv6 6to4 set relay name=<ipaddress> state=enabled. | | |

Note

  • If the DirectAccess client has been assigned a public IPv4 address, it will use the 6to4 relay technology to connect to the intranet. If the client is assigned a private IPv4 address, it will use Teredo. If the DirectAccess client cannot connect to the DirectAccess server with 6to4 or Teredo, it will use IP-HTTPS.

  • To use Teredo, you must configure two consecutive IP addresses on the external facing network adapter.

  • You cannot use Teredo if the Remote Access server has only one network adapter.

  • Native IPv6 client computers can connect to the Remote Access server over native IPv6, and no transition technology is required.

Plan ISATAP requirements

ISATAP is required for remote management of DirectAccessclients, so that DirectAccess management servers can connect to DirectAccess clients located on the Internet. ISATAP is not required to support connections that are initiated by DirectAccess client computers to IPv4 resources on the corporate network. NAT64/DNS64 is used for this purpose. If your deployment requires ISATAP, use the following table to identify your requirements.

| ISATAP deployment scenario | Requirements |

| --- | --- |

| Existing native IPv6 intranet (no ISATAP is required) | With an existing native IPv6 infrastructure, you specify the prefix of the organization during Remote Access deployment, and the Remote Access server does not configure itself as an ISATAP router. Do the following:1. To ensure that DirectAccess clients are reachable from the intranet, you must modify your IPv6 routing so that default route traffic is forwarded to the Remote Access server. If your intranet IPv6 address space uses an address other than a single 48-bit IPv6 address prefix, you must specify the relevant organization IPv6 prefix during deployment.2. If you are currently connected to the IPv6 Internet, you must configure your default route traffic so that it is forwarded to the Remote Access server, and then configure the appropriate connections and routes on the Remote Access server, so that the default route traffic is forwarded to the device that is connected to the IPv6 Internet. |

| Existing ISATAP deployment | If you have an existing ISATAP infrastructure, during deployment you are prompted for the 48-bit prefix of the organization, and the Remote Access server does not configure itself as an ISATAP router. To ensure that DirectAccess clients are reachable from the intranet, you must modify your IPv6 routing infrastructure so that default route traffic is forwarded to the Remote Access server. This change needs to be done on the existing ISATAP router to which the intranet clients must already be forwarding the default traffic. |

| No existing IPv6 connectivity | When the Remote Access setup wizard detects that the server has no native or ISATAP-based IPv6 connectivity, it automatically derives a 6to4-based 48-bit prefix for the intranet, and configures the Remote Access server as an ISATAP router to provide IPv6 connectivity to ISATAP hosts across your intranet. (A 6to4-based prefix is used only if the server has public addresses, otherwise the prefix is automatically generated from a unique local address range.)To use ISATAP do the following:1. Register the ISATAP name on a DNS server for each domain on which you want to enable ISATAP-based connectivity, so that the ISATAP name is resolvable by the internal DNS server to the internal IPv4 address of the Remote Access server.2. By default, DNS servers running Windows Server 2012 , Windows Server 2008 R2 , Windows Server 2008 , or Windows Server 2003 block resolution of the ISATAP name by using the global query block list. To enable ISATAP, you must remove the ISATAP name from the block list. For more information, see Remove ISATAP from the DNS Global Query Block List.Windows-based ISATAP hosts that can resolve the ISATAP name automatically configure an address with the Remote Access server as following:1. An ISATAP-based IPv6 address on an ISATAP tunneling interface2. A 64-bit route that provides connectivity to the other ISATAP hosts on the intranet3. A default IPv6 route that points to the Remote Access server. The default route ensures that intranet ISATAP hosts can reach DirectAccess clientsWhen your Windows-based ISATAP hosts obtain an ISATAP-based IPv6 address, they begin to use ISATAP-encapsulated traffic to communicate if the destination is also an ISATAP host. Because ISATAP uses a single 64-bit subnet for the entire intranet, your communication goes from a segmented IPv4 model of communication, to a single subnet communication model with IPv6. This can affect the behavior of some Active Directory Domain Services (AD DS) and applications that rely on your Active Directory Sites and Services configuration. For example, if you used the Active Directory Sites and Services snap-in to configure sites, IPv4-based subnets, and intersite transports for forwarding requests to servers within sites, this configuration is not used by ISATAP hosts.<br>1. To configure Active Directory Sites and Services for forwarding within sites for ISATAP hosts, for each IPv4 subnet object, you must configure an equivalent IPv6 subnet object, in which the IPv6 address prefix for the subnet expresses the same range of ISATAP host addresses as the IPv4 subnet. For example, for the IPv4 subnet 192.168.99.0/24 and the 64-bit ISATAP address prefix 2002:836b:1:8000::/64, the equivalent IPv6 address prefix for the IPv6 subnet object is 2002:836b:1:8000:0:5efe:192.168.99.0/120. For an arbitrary IPv4 prefix length (set to 24 in the example), you can determine the corresponding IPv6 prefix length from the formula 96 + IPv4PrefixLength.<br>2. For the IPv6 addresses of DirectAccess clients, add the following:<br> - For Teredo-based DirectAccess clients: An IPv6 subnet for the range 2001:0:WWXX:YYZZ::/64, in which WWXX:YYZZ is the colon-hexadecimal version of the first Internet-facing IPv4 address of the Remote Access server. .<br> - For IP-HTTPS-based DirectAccess clients: An IPv6 subnet for the range 2002:WWXX:YYZZ:8100::/56, in which WWXX:YYZZ is the colon-hexadecimal version of the first Internet-facing IPv4 address (w.x.y.z) of the Remote Access server. .<br> - For 6to4-based DirectAccess clients: A series of 6to4-based IPv6 prefixes that begin with 2002: and represent the regional, public IPv4 address prefixes that are administered by Internet Assigned Numbers Authority (IANA) and regional registries. The 6to4-based prefix for a public IPv4 address prefix w.x.y.z/n is 2002:WWXX:YYZZ::/[16+n], in which WWXX:YYZZ is the colon-hexadecimal version of w.x.y.z. For example, the 7.0.0.0/8 range is administered by American Registry for Internet Numbers (ARIN) for North America. The corresponding 6to4-based prefix for this public IPv6 address range is 2002:700::/24. For information about the IPv4 public address space, see IANA IPv4 Address Space Registry. . |

Important

Ensure that you do not have public IP addresses on the internal interface of the DirectAccess server. If you have public IP address on the internal interface, connectivity through ISATAP may fail.

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:

  • For IP-HTTPS: Transmission Control Protocol (TCP) destination port 443, and TCP source port 443 outbound.

  • For Teredo traffic: User Datagram Protocol (UDP) destination port 3544 inbound, and UDP source port 3544 outbound.

  • For 6to4 traffic: IP Protocol 41 inbound and outbound.

Note

For Teredo and 6to4 traffic, these exceptions should be applied for both of the Internet-facing consecutive public IPv4 addresses on the Remote Access server.

For IP-HTTPS the exceptions need to be applied on the address that is registered on the public DNS server.

  • 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.

Note

This exemption is on the Remote Access server, and the previous exemptions are on the edge firewall.

The following exceptions are 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.

  • ICMPv6 traffic inbound and outbound (only when using Teredo).