Solved

enabling AD replication via IPsec on existing domain controllers

Posted on 2010-08-19
6
2,383 Views
Last Modified: 2012-05-10
I have an existing AD domain with numerous sites.  Currently, we are allowing AD replication through the firewalls with the "swiss cheese" method, allowing RPC, etc.  To trim this down, we would like to start using IPsec encapsulation for AD replication between DCs.  I'm currently following this article:

http://technet.microsoft.com/en-us/library/bb727063.aspx

There is one discrepancy in that article that is troubling me, however.  It says that I need to go to:
Start | Programs | Administrative Tools | Local Security Policy

However, this is not available on a domain controller.  I only have 'Domain Security Policy' and 'Domain Controller Security Policy'.  If I start defining ipsec policies using the 'Domain Controller Security Policy' link instead of 'Local Security Policy', won't those policies get replicated to all DCs?  Will that be an issue?

Ideally, I'd like to enable ipsec on certain DCs as a test, and roll it out to other DCs as I verify it's working.  I don't want to do a global ipsec configuration and activate it on every DC simultaneously.
0
Comment
Question by:NetAdSubs
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33481273
A little more information please, what OS are you running on your domain controllers? The article listed applies to Windows 2000, I would use this article as well http://support.microsoft.com/kb/816514 if running windows 2003.

I would strongly recommend that you create a test domain with domain controllers on different sites to test this, rather than on your production domain

Hope this helps
0
 

Author Comment

by:NetAdSubs
ID: 33481471
I apologize; I meant to include that info.  We are running Windows 2003 DCs in all sites.

I was indeed considering setting up a test domain, but we are limited on resources and time, so I was hoping to get some answers from the experts here first.  For what it's worth, we do already have a test domain up and running for a different project, but it's running Windows 2008R2 DCs.  I could certainly set up ipsec between those DCs, but I'm not sure how Windows 2003's ipsec functionality compares to 2008R2's.

Regarding the article you linked, that looks like it involves setting up an ipsec tunnel.  It was my understanding that with AD replication via ipsec (as discussed in the article I linked), you're not actually creating a tunnel, but rather just encapsulating your replication traffic inside of ipsec packets.
0
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33481568
I was point out the secpol.msc tool, rather than how to set up a tunnel.

If you follow your original article, you shoul dbe fine. just be aware that as soon as you set up ipsec for replication to test, the other domain controllers will not be able to replicate to those DCs until you either diable IPSEC encapsulation or enable it everywhere

Hope this helps
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 7

Assisted Solution

by:CGretski
CGretski earned 100 total points
ID: 33483465
Just a word of warning setting IPSEC on DC communication via policy.

If you set group policy on one DC that it needs IPSEC for all communications with other DCs all communication between DCs will stop until they start using the same IPSEC settings

Because there's no communication replication won't work, so the other DCs will never get the new policy telling them to use IPSEC.

Your domain is now broken.

A possible work around is forcibly disabling the IPSEC service on windows, which will cause them to ignore IPSEC, talk clear-text until replication is complete,  then re-enable the service

Alternatively create the IPSEC policy so it only applies to certain source/destination IPs, to only 1 pair of domain controllers at a time.  That way (assuming you have more than 2 DCs) the policy could replicate indirectly via the non-IPSEC DCs
0
 
LVL 6

Accepted Solution

by:
craig_j_Lawrence earned 150 total points
ID: 33483497
Thanks for your input, I agree that applying ipsec settings via group policy is not a good idea, as you stated. I would definitely apply settings to 2 domain controllers via secpol.msc and ensure that the configuration is filtered via ip address
0
 

Author Comment

by:NetAdSubs
ID: 33487721
Thank you very much for the info.  The file secpol.msc is what I was looking for.  That pulls up the "Local Security Settings," which is exactly what I'm after.  I was wary of applying this via a group policy for the reasons you both mentioned.  Being able to apply it to one machine at a time is much preferable.  I wasn't aware that secpol.msc was still available on a DC, since the shortcut gets removed from the Administrative Tools menu when you promote a machine to a DC.  I had always just assumed that was something you just couldn't do on a DC.

Any idea why the shortcut gets removed?  Seems like there are still valid uses for it, even on a DC.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now