<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>LuisTog's AD nuts &amp; bolts</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/luistog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/luistog/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:44:33 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>AD DR Series | Pre-reqs 1: How to determine the administrator's username (RID -500)</title>
      <link>https://docs.microsoft.com/archive/blogs/luistog/ad-dr-series-pre-reqs-1-how-to-determine-the-administrators-username-rid-500</link>
      <pubDate>Tue, 03 Jul 2012 15:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Luis Tognini]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/luistog/2012/07/03/ad-dr-series-pre-reqs-1-how-to-determine-the-administrators-username-rid-500/</guid>
      <description><![CDATA[I'm starting this new AD DS Disaster Recovery blog series to help you prepare for AD Disasters. I'll...]]></description>
      <content:encoded><![CDATA[<p class="Ln1">I'm starting this new AD DS Disaster Recovery blog series to help you prepare for AD Disasters. I'll start with some basic pre-reqs, and then jump into more technical details. So off we go! I hope you enjoy it!</p>
<p style="padding-left: 30px;" class="Ln1">a) Did you know there are some things in your AD Forest (or Domain) that can&nbsp;only be performed by a certain user?</p>
<p style="padding-left: 30px;" class="Ln1">b) Even though your user account might be a member of the "Domain Admins" or "Enterprise Admins" group, there are things you won't be able to do, unless you're logged on with the "First" Administrator account.</p>
<p style="padding-left: 30px;" class="Ln1">c) For example, if all your Global Catalogs are offline, logons will be denied due to the fact the DCs can't do Universal Group membership enumeration. The only user that can logon in that scenario is "The Administrator", so you can&nbsp;troubleshoot the problem.</p>
<p style="padding-left: 30px;" class="Ln1">d)&nbsp;This is a very common situation during a forest/domain outage.</p>
<p class="Ln1">Yeah! Remember that account the DCPROMO wizard created with your first domain controller, some very long years ago?? That&nbsp;one you probably renamed and changed the password to something really crazy that no one would ever guess (or perhaps you even lost the password)! <strong>THAT ONE! That account is actually very special! </strong>So let's make sure we identify that user account and set&nbsp;a new and secure/complex password to it. You should also define a policy around who has access to that account's password, how and when (i.e. dual custody, put it in a safe, etc.)</p>
<p class="Ln1">Alright, so let's get down to some details before we jump into finding out that user. My first question would be: "<strong>So how does AD or Windows keep track of who is that really important user account</strong>"?</p>
<p class="Ln1">Well, accounts in Windows and AD have SIDs&nbsp;(Security IDs) and that's how we&nbsp;assign and keep track of permissions. SID are usually ended by random numbers. However, some accounts have special SIDs that never change&nbsp;and those are called the "Well Known SIDs". Some examples are:</p>
<ul>
<ul>
<li>
<div class="Ln1">SID: S-1-1-0<br />Name: Everyone<br />Description: A group that includes all users, even anonymous users and guests. Membership is controlled by the operating system.</div>
</li>
<li>
<div class="Ln1">SID: S-1-5-11<br />Name: Authenticated Users<br />Description: A group that includes all users whose identities were authenticated when they logged on. Membership is controlled by the operating system.</div>
</li>
<li>
<div class="Ln1">SID: S-1-5-21-<var>domain</var>-500<br />Name: Administrator<br />Description: A user account for the system administrator. By default, it is the only user account that is given full control over the system.</div>
</li>
</ul>
</ul>
<p class="Ln1"><strong>If you like formal definitions, I did some copy and paste from MSDN, though it doesn't make a lot of sense to me.. (so I took the liberty to add some of my comments in the end of each sentence. I hope it makes more sense that way!)</strong></p>
<ul>
<ul>
<li>
<div class="Ln1"><strong>security identifier<br /></strong>(SID) A data structure of variable length that identifies user, group, and computer accounts. Every account&nbsp;on a network is issued a unique SID when the account is first created. Internal processes in Windows refer to an account's SID rather than the account's user or group name. <em>(Luis...) It's something like S-1-5-21-xxx or S-1-5-21-xxxxxx-xxxxxx-xxxxxxxx-500 and is stored in AD as the <strong>objectSID</strong> attribute.</em></div>
</li>
<li>
<div class="Ln1"><a id="_security_relative_identifier_gly"></a><a id="_SECURITY_RELATIVE_IDENTIFIER_GLY"></a><strong>relative identifier<br /></strong>(RID) The portion of a&nbsp;security identifier (SID) that identifies a user or group in relation to the authority that issued the SID. <em>(Luis...) The last few digits of the SID, which differentiates two or more users from the same domain. For a certain domain, all users share pretty much the same SID, only the very last few digits are unique.</em></div>
</li>
</ul>
</ul>
<div class="Ln1">&nbsp;</div>
<p class="Ln1">Notice from above that for a certain system (Windows computer or an AD domain), any SID ending with -500 will be by default the built-in administrator and that's why the "almighty administrator account" in AD is also referred to as "<em><strong>the dash 500 account</strong></em>".</p>
<p class="Ln1">The next natural question I have is: "<strong>So how do you determine which of your Active Directory accounts is really the -500 administrator?"</strong> Easy enough, just follow the steps below:</p>
<ol>
<li>
<div class="Ln1">Logon to a DC or any domain joined computer with Support Tools or RSAT installed</div>
</li>
<li>
<div class="Ln1">Open LDP.EXE from the Start Menu</div>
</li>
<li>
<div class="Ln1">Click the Connection menu and select Connect (you can leave this window blank and it will connect to the closest DC).</div>
</li>
<li>
<div class="Ln1">Click OK</div>
</li>
<li>
<div class="Ln1">Click the Connection menu again and select Bind (you can leave this window blank and it will use the current user's credentials)</div>
</li>
<li>
<div class="Ln1">Click OK</div>
</li>
<li>
<div class="Ln1">Click the View menu and select Tree.</div>
</li>
<li>
<div class="Ln1">Select the Domain from the list and click OK.</div>
</li>
<li>
<div class="Ln1">Expand the nodes to see the OUs. Navigate around until you find any user account (could be yours, it doesn't matter)</div>
</li>
<li>
<div class="Ln1">Press CTRL+N to clear the screen</div>
</li>
<li>
<div class="Ln1">Double clicking any existing user account looking for the ObjectSID attribute in the right hand pane. It should look like objectSID=S-1-5-21-xxxxxx-xxxxxx-xxxxxxxx-xxx. Write down that SID.</div>
</li>
<li>
<div class="Ln1">Now right click the DC=<b><i>domainname,DC=domain</i></b> node from the left pane, and select Search.</div>
</li>
<li>
<div class="Ln1">Make sure Base DN is DC=<b><i>domainname,DC=domain</i></b> and scope is set to Subtree.</div>
</li>
<li>
<div class="Ln1">Change the filter to: <br /><span style="background-color: #ffff00;">(<code class="cplusplus">objectSID=S-1-5-21-xxxxxx-xxxxxx-xxxxxxxx-500) </code></span></div>
</li>
<li>
<div class="Ln1"><code class="cplusplus"></code>Click Run, and should see the user&rsquo;s name and location in the background (right pane). You are lookin for the <strong>distinguishedName</strong> attribute. That's it.</div>
</li>
</ol>
<div class="Ln1">Now, if you don't know that user's password already (shame on you!), open the AD Users and Computers snap-in, browse to the -500 user&rsquo;s location (found above), right click on the administrator user account and select Reset Password to enter a new password.</div>
<p class="Ln1"><strong>IMPORTANT: Be careful that by resetting this user's password you could break other systems that might be using these credentials, even though you shouldn't be doing that! </strong></p>
<p class="Ln1">Also Double click the user and make sure it belongs to Enterprise Admins (Member Of tab). Make sure the user is not disabled or locked (Account tab)</p>
<p class="Ln1">That's it for the first article from the AD DR Series.. More to come soon</p>
<p class="Ln1"><strong>-LuisTog</strong></p>
<p class="Ln1"><strong>-----------------------------</strong></p>
<p class="Ln1"><strong>Sources:</strong><br />Well Known SIDs<br /><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa379649(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/aa379649(v=vs.85).aspx</a></p>
<p>Well-known security identifiers in Windows operating systems<br /><a href="http://support.microsoft.com/kb/243330">http://support.microsoft.com/kb/243330</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Restricting AD Replication Traffic between DCs to only a few ports</title>
      <link>https://docs.microsoft.com/archive/blogs/luistog/restricting-ad-replication-traffic-between-dcs-to-only-a-few-ports</link>
      <pubDate>Tue, 08 May 2012 14:12:00 GMT</pubDate>
      <dc:creator><![CDATA[luistog]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/luistog/2012/05/08/restricting-ad-replication-traffic-between-dcs-to-only-a-few-ports/</guid>
      <description><![CDATA[&nbsp;
Life is not perfect and sometimes the situation requires for you to put a firewall between...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<h3><span style="font-family: Segoe UI; font-size: x-small;" face="Segoe UI" size="2">Life is not perfect and sometimes the situation requires for you to put a firewall between Domain Controllers. I&rsquo;m not here to discuss the reasons that require you to do so, but I must tell you that restricting AD DS traffic (firewall) is not something we recommend and used only when really necessary (avoided whenever possible). But once again, if there&rsquo;s nothing you can do, let&rsquo;s at least make sure all the vital traffic is indeed going through. I hope this guide is helpful to you!</span></h3>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1172.clip_image001_5A9AC7EE.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1172.clip_5F00_image001_5F00_5A9AC7EE.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="clip_image001" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/0005.clip_image001_thumb_5A2E94F9.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/0005.clip_5F00_image001_5F00_thumb_5F00_5A2E94F9.jpg" width="359" height="221" /></a></p>
<p><span style="font-size: x-small;" size="2">There are at least two options that can be used to allow replication when there are network traffic filters (aka firewall) in the network, across two DCs. Both will be detailed here:</span></p>
<p></p>
<ol>
<li><span style="font-size: x-small;" size="2"><a href="#registry">Use registry keys</a> on the DCs to force communication over specific ports (AD DS Replication, FRS Replication or DFS-R and Netlogon) and open a few extra ports for additional RPC communication.</span></li>
<li><span style="font-size: x-small;" size="2"><a href="#ipsec">Use IPsec</a> to restrict the traffic to two ports only (IP 50 and IP 51)</span></li>
</ol>
<blockquote>
<p><span style="font-size: x-small;" size="2">a. Full encryption (ESP) should be implemented, but you might want to consider using AH only (headers), so the traffic can be inspected if necessary (or required)</span></p>
<p><span style="font-size: x-small;" size="2">b. Kerberos can be used for authentication, but that requires port 88 (TCP/UDP) to be opened as well. You can use Certificates for the same purpose, which requires a CA installed, but keep you from opening an extra port in the firewall.</span></p>
</blockquote>
<p><span style="font-size: x-small;" size="2">We&rsquo;ll be assuming here that there&rsquo;s no client traffic crossing the firewall, only AD replication. This means that if all of the DCs in either side fail, no authentication will be available at that side of the firewall, as the client traffic will be blocked across the firewall. If your scenario require authentication traffic to go thought the firewall, additional ports might be needed.</span></p>
<p><span style="font-size: x-small;" size="2">Please notice that if you&rsquo;re restricting DC replication through a firewall because one of your DCs is in a perimeter (DMZ) network, consider deploying RODCs to achieve a higher security level. Check the following guide for more information about Deploying RODCs in the Perimeter Network: </span><a href="http://technet.microsoft.com/en-us/library/dd728035.aspx"><span style="font-size: x-small;" size="2">http://technet.microsoft.com/en-us/library/dd728035.aspx</span></a></p>
<h4></h4>
<h4></h4>
<h3><a name="registry"></a><span style="color: #4f81bd; font-size: medium;" size="4" color="#4f81bd">Restricting DC traffic using registry keys</span></h3>
<p><span style="font-size: x-small;" size="2">Configure your firewall to allow the following ports:</span></p>
<ol>
<li><span style="font-size: x-small;" size="2">TCP/UDP 53 (DNS Name Resolution)</span></li>
<li><span style="font-size: x-small;" size="2">TCP/UDP 88 (Kerberos)</span></li>
<li><span style="font-size: x-small;" size="2">UDP 123 (Time Sync)</span></li>
<li><span style="font-size: x-small;" size="2">TCP 135 (RPC Endpoint Mapper)</span></li>
<li><span style="font-size: x-small;" size="2">TCP 49152 (AD REPLICATION. See Registry Key 1 below)</span></li>
<li><span style="font-size: x-small;" size="2">TCP 49153 (NETLOGON. See Registry Key 2 below)</span></li>
<li><span style="font-size: x-small;" size="2">TCP 49154 (FRS or DFS-R REPLICATION. See Registry Key 3 below)</span></li>
<li><span style="font-size: x-small;" size="2">TCP 5722 (DFS-R Replication)</span></li>
</ol>
<p><span style="font-size: x-small;" size="2">Then set the following registry keys on your Domain Controllers. Once you&rsquo;re done, reboot the DCs for the settings to take effect. In theory, since the KCC controls the replication topology and not you, you should apply these changes on all your DCs, in case they ever need to replicate with each other. However, for security reasons, you can just configure it on the DCs facing both sides of the firewall:</span></p>
<p><i><span style="font-size: x-small;" size="2">Registry key 1 <br /></span></i><span style="font-size: x-small;" size="2">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters <br /></span><span style="font-size: x-small;" size="2">Registry value: TCP/IP Port <br /></span><span style="font-size: x-small;" size="2">Value type: REG_DWORD <br /></span><span style="font-size: x-small;" size="2">Value data: 49152 (This value needs to be specified in decimal format)</span></p>
<p><i><span style="font-size: x-small;" size="2">Registry key 2 <br /></span></i><span style="font-size: x-small;" size="2">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters <br /></span><span style="font-size: x-small;" size="2">Registry value: DCTcpipPort <br /></span><span style="font-size: x-small;" size="2">Value type: REG_DWORD <br /></span><span style="font-size: x-small;" size="2">Value data: 49153 (This value needs to be specified in decimal format)</span></p>
<p><i><span style="font-size: x-small;" size="2">Registry key 3 <br /></span></i><span style="font-size: x-small;" size="2">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTFRS\Parameters <br /></span><span style="font-size: x-small;" size="2">Registry value: RPC TCP/IP Port Assignment <br /></span><span style="font-size: x-small;" size="2">Value type: REG_DWORD <br /></span><span style="font-size: x-small;" size="2">Value data: 49154 (This value needs to be specified in decimal format)</span></p>
<p><span style="font-size: x-small;" size="2">If you&rsquo;re using DFS-R, you want to run the following command instead: <br />dfsrdiag StaticRPC /port:<var><b>49154</b></var> /Member:<var><b>&lt;serverFQDN&gt;</b></var></span></p>
<p><span style="font-size: x-small;" size="2"><strong>References:</strong> <br /></span><span style="font-size: x-small;" size="2">Restricting Active Directory replication traffic and client RPC traffic to a specific port <br /></span><a href="http://support.microsoft.com/kb/224196"><span style="font-size: x-small;" size="2">http://support.microsoft.com/kb/224196</span></a></p>
<p><span style="font-size: x-small;" size="2">How to configure RPC dynamic port allocation to work with firewalls <br /></span><a href="http://support.microsoft.com/kb/154596"><span style="font-size: x-small;" size="2">http://support.microsoft.com/kb/154596</span></a></p>
<p><span style="font-size: x-small;" size="2">How to restrict FRS replication traffic to a specific static port| <br /></span><a href="http://support.microsoft.com/kb/319553"><span style="font-size: x-small;" size="2">http://support.microsoft.com/kb/319553</span></a></p>
<p><span style="font-size: x-small;" size="2">Service overview and network port requirements for the Windows Server system <br /></span><a href="http://support.microsoft.com/kb/832017"><span style="font-size: x-small;" size="2">http://support.microsoft.com/kb/832017</span></a></p>
<h4></h4>
<h3></h3>
<h3><a name="ipsec"></a><span style="color: #4f81bd; font-family: Segoe UI; font-size: medium;" face="Segoe UI" size="4" color="#4f81bd"><span style="font-weight: bold;">Restricting DC traffic using IPSec</span></span></h3>
<p><span style="font-size: x-small;" size="2">IPSec provides a way to easily encapsulate and carry traffic over a firewall. IPSec can also increase security between the DCs using mutual authentication (Kerberos or machine certificates). That way, DCs can guarantee to whom they are communicating with before any actual information exchange occurs.</span></p>
<p><span style="font-size: x-small;" size="2">However, there&rsquo;s a key decision that must be made at this point - whether to use Certificates or Kerberos for IPSec Authentication. If using Kerberos, you won&rsquo;t be able to perform the DCPROMO behind the firewall, as the computers must be a member of the domain. If instead you want to use certificates, you need a CA (AD CS) to obtain a certificate for each DC. </span></p>
<p><span style="font-size: x-small;" size="2">For IPSec replication, configure your firewall to permit the following:</span></p>
<ol>
<li><span style="font-size: x-small;" size="2">TCP/UDP 53 (DNS Name Resolution)</span></li>
<li><span style="font-size: x-small;" size="2">TCP/UDP 88 (Kerberos)</span></li>
<li><span style="font-size: x-small;" size="2">UDP 500 (IKE)</span></li>
<li><span style="font-size: x-small;" size="2">IP 50 (IPSec ESP)</span></li>
<li><span style="font-size: x-small;" size="2">IP 51 (IPSec AH) </span></li>
</ol>
<p><span style="font-size: x-small;" size="2">Note that IPSec will not work through network address translation (NAT) devices. Because IPSec uses IP addresses when computing packet checksums, IPSec packets whose source addresses were altered by NAT are discarded when they arrive at the destination.</span></p>
<p><span style="font-size: x-small;" size="2">So let&rsquo;s move on and start configuring the DCs. In our example scenario here, there are 3 DCs running Windows Server 2008 R2, but you can run a mix of 2003, 2008 and 2008 R2, as the configuration is pretty much the same. Two DCs are inside the corporate network (DC1 and DC2) and one DC is outside the perimeter (DC4).</span></p>
<p><span style="font-size: x-small;" size="2">We&rsquo;re going to configure the IPSec policy on all 3 DCs, so they use IPSec transport mode to communicate with each other. Note that we are not creating IPSec tunnels, but using IPSec transport mode - end-to-end IPSec &ndash; instead.</span></p>
<h5></h5>
<h5><span style="font-family: Segoe UI; font-size: x-small;" face="Segoe UI" size="2">Configuring the Servers</span></h5>
<p><span style="font-size: x-small;" size="2">NOTE: To make this setup easier, I promoted all DCs in the same network (no firewalls) and tested replication to make sure no problems existed before continuing with the IPSec policy creation.</span></p>
<p><span style="font-size: x-small;" size="2">Starting with DC1, run the following steps to create an IPSec policy for replication, along with a corresponding IP filter list and filter action. </span></p>
<p><span style="font-size: x-small;" size="2">1. Open <strong>Start | Administrative Tools | Local Security Policy</strong>.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1663.clip_image003_6E47B182.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1663.clip_5F00_image003_5F00_6E47B182.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image003" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/0508.clip_image003_thumb_06D74ED3.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/0508.clip_5F00_image003_5F00_thumb_5F00_06D74ED3.jpg" width="244" height="176" /></span></a></p>
<p><span style="font-size: x-small;" size="2">2. Right-click <strong>IP Security Policies on Local Machine</strong> (in the left-hand pane of the MMC) and select Create IP Security Policy.</span></p>
<p><span style="font-size: x-small;" size="2">3. Click Next and provide your IPSec Policy with a name</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/8816.clip_image005_7898D5E2.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/8816.clip_5F00_image005_5F00_7898D5E2.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image005" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/3632.clip_image005_thumb_0D1E2561.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/3632.clip_5F00_image005_5F00_thumb_5F00_0D1E2561.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">4. Do not check the box and click Next.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/8510.clip_image007_17DB7CB6.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/8510.clip_5F00_image007_5F00_17DB7CB6.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/0412.clip_image007_thumb_176F49C1.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/0412.clip_5F00_image007_5F00_thumb_5F00_176F49C1.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">5. Now make sure &ldquo;Edit Properties&rdquo; is checked and click Finish.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/3716.clip_image009_3DD12D0C.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/3716.clip_5F00_image009_5F00_3DD12D0C.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image009" border="0" alt="clip_image009" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1641.clip_image009_thumb_3645BD9F.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1641.clip_5F00_image009_5F00_thumb_5F00_3645BD9F.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">6. Now at the IPSec Policy Properties (DC Replication), you can see no rules are in effect. You want to create a new rule, so click Add&hellip;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1072.clip_image011_42D36ABB.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1072.clip_5F00_image011_5F00_42D36ABB.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image011" border="0" alt="clip_image011" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/0167.clip_image011_thumb_140DB219.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/0167.clip_5F00_image011_5F00_thumb_5F00_140DB219.jpg" width="220" height="244" /></span></a></p>
<p><span style="font-size: x-small;" size="2">7. Click Next and make sure &ldquo;This rule does not specify a tunnel&rdquo; is selected. Click Next.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/5355.clip_image013_13354C2F.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/5355.clip_5F00_image013_5F00_13354C2F.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image013" border="0" alt="clip_image013" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/4606.clip_image013_thumb_190FEFC8.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/4606.clip_5F00_image013_5F00_thumb_5F00_190FEFC8.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">8. Select &ldquo;Local Area Network (LAN)&rdquo; and click Next again.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/6835.clip_image015_7F3BB998.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/6835.clip_5F00_image015_5F00_7F3BB998.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image015" border="0" alt="clip_image015" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/2627.clip_image015_thumb_57953D6E.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/2627.clip_5F00_image015_5F00_thumb_5F00_57953D6E.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">9. In the IP Filter List screen, click Add&hellip;</span></p>
<p><span style="font-size: x-small;" size="2">10. The IP Filter List window will open. Click Add and follow the wizard to create three filters, from &lt;My IP Address&gt; to all other DCs that will participate in this communication, including DC1 itself. This will make sure all traffic from all DCs is forced to use IPSec. In this example, we have three filters, from DC1 to DC1, DC2 and DC4. Make sure the Mirror check box is selected, and the filter includes all Ports and Protocols. Click OK when done.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/2625.clip_image016_6FB8A7C9.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/2625.clip_5F00_image016_5F00_6FB8A7C9.png"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image016" border="0" alt="clip_image016" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/6825.clip_image016_thumb_6B422702.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/6825.clip_5F00_image016_5F00_thumb_5F00_6B422702.png" width="244" height="195" /></span></a></p>
<p><span style="font-size: x-small;" size="2">11. Back to the IP Filter List Screen, select the newly created filter and hit next.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/5751.clip_image018_23809E1B.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/5751.clip_5F00_image018_5F00_23809E1B.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image018" border="0" alt="clip_image018" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/3201.clip_image018_thumb_028D2B74.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/3201.clip_5F00_image018_5F00_thumb_5F00_028D2B74.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">12. Now we need to create a Filter Action. In the Filter Action screen, click Add&hellip;</span></p>
<p><span style="font-size: x-small;" size="2">13. Name the filter DC Replication Action</span></p>
<p><span style="font-size: x-small;" size="2">14. Select &ldquo;Negotiate Security&rdquo; and click Next</span></p>
<p><span style="font-size: x-small;" size="2">15. Make sure you select &ldquo;Do not allow unsecured communication&rdquo; and click Next</span></p>
<p><span style="font-size: x-small;" size="2">16. And now to the first important choice: the security implemented with IPSec. </span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/5355.clip_image020_69252839.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/5355.clip_5F00_image020_5F00_69252839.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image020" border="0" alt="clip_image020" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/4452.clip_image020_thumb_3ACBA28C.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/4452.clip_5F00_image020_5F00_thumb_5F00_3ACBA28C.jpg" width="244" height="188" /></span></a></p>
<p><span style="font-size: x-small;" size="2">a. In the screen shown above, if you select &ldquo;Integrity and encryption&rdquo;, ESP will be in effect, using Protocol IP50. It means all packages matching the filter list will be encrypted and then a checksum generated to protect against tampering. By default SHA1 is used for Integrity and 3DES for Encryption, as you can see below:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/2112.clip_image022_21639F52.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/2112.clip_5F00_image022_5F00_21639F52.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image022" border="0" alt="clip_image022" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/7485.clip_image022_thumb_07FB9C18.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/7485.clip_5F00_image022_5F00_thumb_5F00_07FB9C18.jpg" width="244" height="240" /></span></a></p>
<p><span style="font-size: x-small;" size="2">b. Some companies&rsquo; security departments require the ability to inspect network packages, and if that&rsquo;s your case, you probably don&rsquo;t want to encrypt the payload, but only enforce only Data and Address integrity (header checksum). In this case, select the Custom&hellip; option and use the following options:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/7573.clip_image024_12B8F36D.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/7573.clip_5F00_image024_5F00_12B8F36D.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image024" border="0" alt="clip_image024" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/2318.clip_image024_thumb_7950F032.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/2318.clip_5F00_image024_5F00_thumb_5F00_7950F032.jpg" width="244" height="240" /></span></a></p>
<p><span style="font-size: x-small;" size="2">17. Back to the Filter Action Screen, select the newly created Action and hit next.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/6013.clip_image026_46ED1CB3.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/6013.clip_5F00_image026_5F00_46ED1CB3.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image026" border="0" alt="clip_image026" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/4452.clip_image026_thumb_5F10870E.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/4452.clip_5F00_image026_5F00_thumb_5F00_5F10870E.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">18. Now it&rsquo;s time for the second decision! Are you going with Kerberos Authentication or Certificates? In this example, we&rsquo;ll use Kerberos, as all Domain Controllers are already operational, and Kerberos is available. So click Next.</span></p>
<blockquote>
<p><span style="font-size: x-small;" size="2">a. Please check </span><a href="http://technet.microsoft.com/en-us/library/bb742429.aspx#EEAA"><span style="font-size: x-small;" size="2">http://technet.microsoft.com/en-us/library/bb742429.aspx#EEAA</span></a><span style="font-size: x-small;" size="2"> for instructions on how to configure a CA (AD CS) and obtain a computer certificate for IPSec Authentication.</span></p>
</blockquote>
<blockquote>
<p><span style="font-size: x-small;" size="2">b. If using certificates, you also might want to check the following document </span><a href="http://social.technet.microsoft.com/wiki/contents/articles/584.active-directory-replication-over-firewalls.aspx#DCPromoIPSec"><span style="font-size: x-small;" size="2">http://social.technet.microsoft.com/wiki/contents/articles/584.active-directory-replication-over-firewalls.aspx#DCPromoIPSec</span></a><span style="font-size: x-small;" size="2"> to understand how to force Kerberos packets to be encapsulated by IPSec.</span></p>
</blockquote>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1614.clip_image028_17BB311C.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1614.clip_5F00_image028_5F00_17BB311C.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image028" border="0" alt="clip_image028" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/6087.clip_image028_thumb_44D01DEA.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/6087.clip_5F00_image028_5F00_thumb_5F00_44D01DEA.jpg" width="244" height="196" /></span></a></p>
<p><span style="font-size: x-small;" size="2">19. Click Finish.</span></p>
<p><span style="font-size: x-small;" size="2">20. You will be taken to the IPSec Policy Properties again, where the DC Replication Rule is already selected. Just click OK to confirm.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1033.clip_image030_4F8D753F.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1033.clip_5F00_image030_5F00_4F8D753F.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image030" border="0" alt="clip_image030" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/2703.clip_image030_thumb_36257205.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/2703.clip_5F00_image030_5F00_thumb_5F00_36257205.jpg" width="219" height="244" /></span></a></p>
<p><span style="font-size: x-small;" size="2">21. Finally, you need to turn on (or assign) the policy to the DC. So back to the Local Security Settings Window, right-click the <strong>DC Replication</strong> policy and select <strong>Assign</strong>.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/3362.clip_image032_075FB963.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/3362.clip_5F00_image032_5F00_075FB963.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image032" border="0" alt="clip_image032" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/4331.clip_image032_thumb_4DDCA96B.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/4331.clip_5F00_image032_5F00_thumb_5F00_4DDCA96B.jpg" width="244" height="176" /></span></a></p>
<p><span style="font-size: x-small;" size="2">22. IPSec processing happens immediately. There is no need to reboot the server.</span></p>
<p><span style="font-size: x-small;" size="2">Now that we are done with DC1, since every domain controller requires a similar IPSec policy, it is necessary to repeat all above steps for the remaining DCs. Regardless of whether the controller is in the internal network, the perimeter network, or the external network, you must configure its IPSec policy so that all communications with all other domain controllers are through IPSec. Not only does this allow the knowledge consistency checker to build a replication topology that ignores the firewall, it also secures all IPSec replication between every server.</span></p>
<h3><span style="color: #4f81bd; font-size: medium;" size="4" color="#4f81bd">Testing the IPSec Policy</span></h3>
<p><span style="font-size: x-small;" size="2">Once you&rsquo;re done with configuring all servers, we want to make sure replication is taking place and no important packets are being dropped by the firewall. In this scenario, I&rsquo;ve used Hyper-V as the virtualization platform, and an extra computer running Forefront TMG to act as the firewall. I&rsquo;ve also installed NETMON 3.4 to make sure packets could be inspected if using AH only.</span></p>
<p><span style="font-size: x-small;" size="2">1. From DC1, open AD Sites and Services (dssite.msc), expand the site that contain your DCs and find DC1.</span></p>
<p><span style="font-size: x-small;" size="2">2. Expand NTDS Settings and select all Replication Connection objects on the right-hand side panel.</span></p>
<p><span style="font-size: x-small;" size="2">3. Right click the Connection Objects and select &ldquo;Replicate Now&rdquo;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/8561.clip_image034_6D8B8333.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/8561.clip_5F00_image034_5F00_6D8B8333.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image034" border="0" alt="clip_image034" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1220.clip_image034_thumb_1B0CA2F7.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1220.clip_5F00_image034_5F00_thumb_5F00_1B0CA2F7.jpg" width="244" height="172" /></span></a></p>
<p><span style="font-size: x-small;" size="2">4. You should get the following message, indicating replication is working</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/0537.clip_image036_25C9FA4C.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/0537.clip_5F00_image036_5F00_25C9FA4C.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image036" border="0" alt="clip_image036" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/6406.clip_image036_thumb_21537985.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/6406.clip_5F00_image036_5F00_thumb_5F00_21537985.jpg" width="244" height="89" /></span></a></p>
<p><span style="font-size: x-small;" size="2">5. Repeat that for all DCs, so you force a full replication cycle. You can also open a cmd window and type &ldquo;repadmin /replsum /bydest&rdquo;, which should give up an output similar to the screen shown below:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/6404.clip_image038_6527ADDC.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/6404.clip_5F00_image038_5F00_6527ADDC.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image038" border="0" alt="clip_image038" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1602.clip_image038_thumb_60B12D15.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1602.clip_5F00_image038_5F00_thumb_5F00_60B12D15.jpg" width="244" height="123" /></span></a></p>
<p><span style="font-size: x-small;" size="2">6. You can also create a file on SYSVOL (C:\Windows\Sysvol\domain) and see if it replicates to all other DCs. This tests the FRS Replication.</span></p>
<p><span style="font-size: x-small;" size="2">7. From a NetMon 3.4 window you can see the traffic going through as we&rsquo;re using AH only in this example.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/7484.clip_image040_006006DE.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/7484.clip_5F00_image040_5F00_006006DE.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image040" border="0" alt="clip_image040" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/5482.clip_image040_thumb_4AE744B8.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/5482.clip_5F00_image040_5F00_thumb_5F00_4AE744B8.jpg" width="244" height="175" /></span></a></p>
<p><span style="font-size: x-small;" size="2">8. You can also notice no packet drops in the firewall</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/2604.clip_image042_4A0EDECE.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/2604.clip_5F00_image042_5F00_4A0EDECE.jpg"><span style="font-size: x-small;" size="2"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image042" border="0" alt="clip_image042" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/33/metablogapi/1682.clip_image042_thumb_5E942E4C.jpg" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-33-metablogapi/1682.clip_5F00_image042_5F00_thumb_5F00_5E942E4C.jpg" width="244" height="212" /></span></a></p>
<p><span style="font-size: x-small;" size="2"><strong>References: <br /></strong></span><span style="font-size: x-small;" size="2">IKE: Internet Key Exchange <br /></span><span style="font-size: x-small;" size="2">ESP: Encapsulated Security Payload <br /></span><span style="font-size: x-small;" size="2">AH: Authenticated Header</span></p>
<p><span style="font-size: x-small;" size="2">Active Directory Replication Over Firewalls <br /></span><a href="http://social.technet.microsoft.com/wiki/contents/articles/584.active-directory-replication-over-firewalls.aspx"><span style="font-size: x-small;" size="2">http://social.technet.microsoft.com/wiki/contents/articles/584.active-directory-replication-over-firewalls.aspx</span></a></p>
<p><span style="font-size: x-small;" size="2">How to Enable IPSec Traffic Through a Firewall <br /></span><a href="http://support.microsoft.com/kb/233256"><span style="font-size: x-small;" size="2">http://support.microsoft.com/kb/233256</span></a></p>
<p><span style="font-size: x-small;" size="2">Step-by-Step Guide to Internet Protocol Security (IPSec) <br /></span><a href="http://technet.microsoft.com/en-us/library/bb742429.aspx"><span style="font-size: x-small;" size="2">http://technet.microsoft.com/en-us/library/bb742429.aspx</span></a></p>]]></content:encoded>
    </item>
  </channel>
</rss>