Re: Windows firewall for domain controllers
- From: "Bruce Sanderson" <bsanders@xxxxxxxxxxxxxxxxx>
- Date: Sun, 13 May 2007 14:58:19 -0700
When a user on a client computer attempts to connect to a share on another computer, that computer (the one with the share) will attempt to authenticate the user by contacting the domain controller. If this authentication attempt fails, access to the share will be denied. So, if the Windows Firewall on the Domain Controllers is blocking the authentication requests, you will get the symptoms your users report.
As Jeremy stated, you must ensure that the firewall settings listed in KB article 555381 are indeed applied to all of the Domain Controllers.
It is quite possible that the Firewall Policy you configured for the Domain (intended for member servers and workstations) has different settings for the Standard Profile than for the Domain Profile in the Windows Firewall part of the GPO. This would be normal - more restrictive firewall settings for when the computer (e.g. laptop) is not connected to the corporate network.
Domain Controllers normally use the Windows Firewall's Standard Profile, NOT the Domain Profile, so make sure these settings are in both the Domain Profile and Standard Profile portion of Administrative Templates, Network, Network Connection.
Verify the settings on the domain controller(s) using Control Panel, Windows Firewall or the command
netsh firewall show state
Also, if there are multiple domain controllers, you must configure the Active Directory and File Replication services to use the same specific port on every domain controller in the forest (section 1 in the Resolutions part of the KB article), then restart every domain controller.
I've been using this firewall configuration on my (small) domain successfully since Windows Server 2003 SP1 (the domain has since been upgraded to Windows Server 2003 R2 SP2).
--
Bruce Sanderson MVP Printing
http://members.shaw.ca/bsanders
It is perfectly useless to know the right answer to the wrong question.
"Sandra L Miller" <slm@xxxxxxxxxxxxxx> wrote in message news:4644DAB7.8090208@xxxxxxxxxxxxxxxxx
Once, long ago, I read that you should not turn on Windows firewall
on domain controllers. So we had 'Protect all network connections'
enabled for our entire domain, with it disabled in the Default Domain
Controllers Policy. Everything was working fine.
Recently, I found a white paper from MS titled "How to configure
Windows Server 2003 SP1 firewall for a Domain Controller"
(http://support.microsoft.com/kb/555381). It said to set:
Windows Firewall: Protect all network connections - Enabled
Windows Firewall: Allow remote exception - Enabled
Windows Firewall: Allow file and printer sharing exception - Enabled
Windows Firewall: Define port exceptions - Enabled
123:udp:*:enabled:NTP
3268:tcp:*:enabled:Global Catalog LDAP
389:tcp:*:enabled:LDAP
389:udp:*:enabled:LDAP
53:tcp:*:enabled:DNS
53:udp:*:enabled:DNS
53211:tcp:*:enabled:AD Replication
53212:tcp:*:enabled:File Replication Service
88:tcp:*:enabled:Kerberos
88:udp:*:enabled:Kerberos
I followed the instructions in the paper to turn on the firewall
on our two domain controllers. Almost immediately, users started
reporting that they could not access shares on other machines (not
on the domain controllers, themselves). I also discovered that I
could no longer Remote Desktop to the domain controllers.
I assumed that the firewall policy we had in place for the entire
domain would apply to the DCs and these new settings would be added
to the DCs (in other words, the settings that were 'Not configured'
in the DC Policy would be the same as for the entire domain. Is
that not true?
Why would turning on the firewall on the domain controllers cause
a share on one workstation to be inaccessible to another workstation?
Is there another port that must be added to the list of port exceptions?
And why would I no longer be able to Remote Desktop to the DCs when
'Allow Remote Desktop exception' is Enabled in a policy applied to
the entire domain, and Undefined in the DC policy?
Thanks,
Sandy
--
Sandra L Miller
Windows System Administrator
Department of Computer Science
University of Arizona
"The opinions or statements expressed herein are my own and should not be
taken as a position, opinion, or endorsement of the University of Arizona."
.
- References:
- Windows firewall for domain controllers
- From: Sandra L Miller
- Windows firewall for domain controllers
- Prev by Date: Re: Group Policy on a remote computer
- Next by Date: Missing Desktop Shortcuts
- Previous by thread: Re: Windows firewall for domain controllers
- Next by thread: Re: Desktop Standard PolicyMaker License issue
- Index(es):
Relevant Pages
|