Search This Blog

Monday, July 27, 2009

Part 109: Firewall Setting for SCCM client

In order to deploy SCCM Client, you need to open Windows Firewall ports. Rather than configure the port in each of the workstation, i will use Group Policy to configure the windows firewall.

Below is the recommended port to open as suggested by Microsoft:-

a)Client Push Installation:-
-File and Printer Sharing
-Windows Management Instrumentation (WMI) -TCP & UDP 1024 -5000

b)Client request:-
-Port 80 - for http communication
-Port 443 -for https communication

-UDP 67 and UDP 68 for DHCP
-TCP 80/443 for IPSEC

d)Remote Control:-
-TCP 2701
-TCP 2702
-TCP 135

e)Remote Assistance and Remote Desktop
-exception program helpsvc.exe and TCP 135
-Remote Assistance and Remote Desktop (TCP 3389)

f)Windows Event Viewer, Windows Performance Monitor and Windows Diagnostics
-Exception File and Printer sharing.

Based on above ports, here is my configuration that i've performed in the Group Policy.

a) Go to Group Policy management snap in.
b) Expand Computer Configuration > Administrative Templates >Network >Network Connections >Windows Firewall >Domain profile

c) Configure Windows Firewall:Allow inbound file and printer sharing exception

-Set Enabled
-IP: ( SCCM Server IP Address)

d) Configure Windows Firewall: Define inbound port exceptions

-Click Show
-Add below configuration

Format for define inbound port exception:-


Invalid configuration:-

WMI is using Random port from 1024 - 5000.

You cannot define to open a range of Windows Firewall ports. Each port need to define individually.

If you still insist to open a range of ports, you can write a script to run the following command:-
for /L %i in (1024,1,5000) do netsh firewall add portopening TCP %i "Port-range %i"

The script will execute and create a rule from 1024 until 5000.
For WMI port, let ignore first .

e) Configure Windows Firewall: Allow inbound remote administration exception

-Set Enabled

f) Configure Windows Firewall: Allow inbound Remote Desktop exceptions

-Set Enabled

g) Configure Windows Firewall: Define inbound program exceptions

-Set Enabled
-Click Show and add the below settings

Format for define inbound program exceptions:-


The above configuration is tested on the workstation running on Windows Vista and Windows XP.

As I've mentioned previously, you need to install BITS version 2.5 into Windows XP and Windows Server 2003.

Stay tune for Part 110: Verifying sccm client installation.

No comments:

Post a Comment