DESKTOP

Windows 7 : Configuring Network Connectivity - Configuring DirectAccess

8/6/2011 3:38:42 PM
DirectAccess is new to the Windows Server 2008 R2 and Windows 7 operating systems. DirectAccess enables a remote user to work on their corporate network when they are away from the office without the need of a VPN. As long as the remote user is connected to the Internet, DriectAccess will automatically connect the remote user to the corporate network without the need of any user intervention.

When a user's Direct Access-enabled laptop is connected to the Internet, a bidirectional connection is automatically established with the user's corporate network. Because the connection is bidirectional, the IT administrator can also remotely manage the Windows 7 machine while the machine is away from the network.

1. DirectAccess vs. VPNs

There are a few problems with using VPNs to connect to a network. One issue is that when a user gets disconnected from their VPN connection, they must reestablish the VPN connection.

Another issue with VPNs is that many organizations filter VPN connection traffic. It may not be possible for an organization to open a firewall to allow VPN traffic. Also if your intranet and your Internet connections are the same as your VPN connections, this can cause your Internet connections to be slower.

DirectAccess does not face the same limitations of a VPN. DirectAccess allows a laptop or desktop that is configured properly to automatically connect by using a bidirectional connection between the client and the server.

To establish this connection, DirectAccess uses Internet Protocol Security (IPsec) and IPv6. IPsec provides a high level of security between the client and the server, and IPv6 is the protocol that the machines use.

2. Understanding How DirectAccess Works

To better understand DirectAccess, it helps to understand how DirectAccess operates. The following steps, taken from the Microsoft white papers, show how DirectAccess operates.

  1. The Windows 7 DirectAccess client determines whether the machine is connected to a network or to the Internet.

  2. The Windows 7 DirectAccess computer tries to connect to the web server specified during the DirectAccess setup configuration.

  3. The Windows 7 DirectAccess client computer connects to the Windows Server 2008 R2 DirectAccess server using IPv6 and IPsec. Because most users connect to the Internet by using IPv4, the client establishes an IPv6-over-IP v4 tunnel using 6to4 or Teredo.

  4. If an organization has a firewall that prevents the DirectAccess client computer using 6to4 or Teredo from connecting to the DirectAccess server, the Windows 7 client automatically attempts to connect by using the IP-HTTPS protocol.

  5. As part of establishing the IPsec session, the Windows 7 DirectAccess client and server authenticate each other by using computer certificates for authentication.

  6. The DirectAccess server uses Active Directory membership, and the DirectAccess server verifies that the computer and user are authorized to connect by using DirectAccess.

  7. The DirectAccess server begins forwarding traffic from the DirectAccess client to the intranet resources to which the user has been granted access.

Now that you understand how DirectAccess works, let's take a look at the requirements for setting up DirectAccess on your network.

3. Knowing the DirectAccess Infrastructure Requirements

To set up DirectAccess, your network infrastructure must meet some minimum requirements. The following show the requirements for setting up DirectAccess:

  • Windows Server 2008 R2 configured to use DirectAccess. The Windows Server 2008 machine will be set up as a multihomed system. This means that your server will need two network adapters so one adapter is connected directly to the Internet and a second adapter is connected to the intranet. Each network adapter will be configured with its own TCP/IP address.

  • Windows 7 client machines configured to use DirectAccess.

  • Minimum of one domain controller and one DNS server running Windows Server 2008 SP2 or Windows Server 2008 R2.

  • Certificate authority (CA) server that will issue computer certificates, smart card certificates, or health certificates.

  • IPsec policies to specify protection for traffic.

  • IPv6 on the DirectAccess server that uses ISATAP, Teredo, or 6to4.

Complete Exercise 1 to install the DirectAccess feature onto a Windows Server 2008 R2 machine. Remember that the DirectAccess feature needs to be installed on Windows Server 2008 R2.

Exercise 1: Installing the DirectAccess Feature

  1. Start Server Manager by clicking Start => Administrative Tools => Server Manager.

  2. In the left window pane, click Features.

  3. In the right window, click the Add Feature link.

  4. Click the DirectAccess Management Console check box.

  5. A dialog box may appear, asking you to install any other features required by DirectAccess. Click the Add Required Features button.

  6. Click Next and then click the Install button.

  7. Verify that the installation was complete and then close Server Manager.


After the DirectAccess feature is installed, in the Administrative Tools section, the DirectAccess Manager will appear. When you start the DirectAccess Manager, click Setup and the DirectAccess Setup Wizard will start.

The setup wizard (see Figure 1) walks you through a four-stage process (Setting up the Remote Clients, DirectAccess Server, Infrastructure Servers, and Application Servers) and it will allow you to choose which Windows 7 computers can use DirectAccess. Follow the wizard to complete the installation. To complete the setup and allow this to function properly, you also need to set up a certificate server, domain controller, and DNS.

Figure 1. DirectAccess Setup Wizard stages

Figure 1. DirectAccess Setup Wizard stages

Other  
  •  Windows 7 : Configuring Network Connectivity - Understanding BranchCache
  •  Windows 7 : Configuring Remote Management
  •  Configuring Windows 7 on a Network
  •  Windows Server : Branch Office Deployment - Branch Office Services (part 2)
  •  Windows Server : Branch Office Deployment - Branch Office Services (part 1)
  •  Windows Server : Planning Application Virtualization
  •  Windows 7 : Understanding TCP/IP (part 2)
  •  Windows 7 : Understanding TCP/IP (part 1) - Basics of IP Addressing and Configuration
  •  Windows Server 2008 : Planning Operating System Virtualization (part 2) - Planning for Server Consolidation
  •  Windows Server 2008 : Planning Operating System Virtualization (part 1)
  •  Windows Server 2003 : Troubleshooting Group Policy
  •  Windows Server 2003 : Working with Resultant Set of Policy (part 2)
  •  Windows Server 2003 : Working with Resultant Set of Policy (part 1) - Generating RSoP Queries with the Resultant Set Of Policy Wizard
  •  Configuring Windows 7 NIC Devices (part 2) - Configuring Wireless NIC Devices
  •  Configuring Windows 7 NIC Devices (part 1) - Configuring a Network Adapter & Troubleshooting a Network Adapter
  •  Windows 7 : Configuring Network Connectivity - Understanding Networking
  •  Preparing to Install Windows 7 (part 2) - New Install or Upgrade
  •  Preparing to Install Windows 7 (part 1) - Different Versions of Windows 7 & Hardware Requirements
  •  Maintaining Windows 7 with Backup and Restore (part 2) - Using Advanced Backup Options & Using System Protection
  •  Maintaining Windows 7 with Backup and Restore (part 1) - Creating a Backup & Restoring Files from a Backup
  •  
    Top 10
    Mobile Application Security : The Apple iPhone - Push Notifications, Copy/Paste, and Other IPC
    Exploring the T-SQL Enhancements in SQL Server 2005 : The WAITFOR Command
    Parallel Programming with Microsoft .Net : Parallel Aggregation - Variations
    Optimizing an Exchange Server 2010 Environment : Analyzing Capacity and Performance
    Programming .NET Security : Hashing Algorithms Explained
    Sharepoint 2007: Specify Your Colleagues
    Algorithms for Compiler Design: THE NFA WITH ∈-MOVES
    Choosing The Right Parts For Your Build (Part 1) - Picking the perfect processor
    Choosing The Right Parts For Your Build (Part 5) - Choosing your case & Picking the right storage
    SQL Server 2008 : Leveraging the Microsoft Sync Framework
    Most View
    Legal Trouble with Social Networks (Part 1)
    The choices of mobile computing for SOHO users (part 2)
    Infrastructure Security: The Application Level
    Sharepoint 2007: Create a New List Item
    SQL Azure Data Access
    Getting Started with MySQL Enterprise & MySQL Enterprise Components
    iPhone Application Development : Using Advanced Interface Objects and Views - User Input and Output
    How to Protect Your Mobile Devices
    Joomla! Blogging and RSS Feeds : Commenting anyone?
    The Second BlackBerry Developers Conference Asia (Part 2)
    Windows Azure : Understanding the Blob Service
    Windows Server 2008 : Understanding the Identity Management for UNIX Components
    Migrating from Legacy SharePoint to SharePoint Server 2010 : Using Visual Upgrade
    Designing and Implementing Mobility in Exchange Server 2010 : Securing Access to ActiveSync Using Internet Security and Acceleration (ISA) Server 2006
    SQL Server 2008 : Explaining Advanced Query Techniques - Creating CTEs
    Configuring Server Roles in Windows 2008 : New Roles in 2008
    Mass Effect Infiltrator
    iPhone 3D Programming : Anti-Aliasing Tricks with Offscreen FBOs (part 1) - A Super Simple Sample App for Supersampling
    Changes in Windows Vista Affecting SDI
    Search for a File or Directory