Windows Server 2003
1820644 Members
2004 Online
109626 Solutions
New Discussion юеВ

Re: Windows Firewall exception : How to assign a port range ?

 
Tetsuya Sodo
New Member

Windows Firewall exception : How to assign a port range ?

Hi,
I'd like to know how to assign the exception port on Windows Firewall for Windows Server 2003.
You know, we can assign a single port, but I cannot input the "-" letter to assign the port range (ex. 5000-5100).
I want to have AD and MSCS to communicate each other with port 5000-5100.

any help/suggestion would be appreciated.
thanks.

Tetsuya Sodo
7 REPLIES 7
Georg Tresselt
Honored Contributor
Tetsuya Sodo
New Member

Re: Windows Firewall exception : How to assign a port range ?

Hi Georg,
Thank you for your reply.

These docs tell that for AD/MSCS to work correctly I can limit the range of ports from 49152-65535 to any 2 ports (that is not used).
I've thought that we cannot limit to only 2 ports and have to use and open wide range of ports for AD/MSCS to work.
I will try it. Thank you.

Tetsuya Sodo
Tom Ridges
Advisor

Re: Windows Firewall exception : How to assign a port range ?

If your using Windows Firewall, why don't you just enable a program exception? This will allow that program to communicate on what ever ports it requires?

Tom
Tetsuya Sodo
New Member

Re: Windows Firewall exception : How to assign a port range ?

Tom, Thank you for your advice.

Windows firewall configuration wizard requires to input executable filename that really exists.
I suspect AD/MSCS are not in the exe file format. Isn't it right?

Tetsuya
Tom Ridges
Advisor

Re: Windows Firewall exception : How to assign a port range ?

Thanks right.

If you locate the service within windows services, within the properties it will show you the file it is running, try and add this to the exclusion list, does that work?

T
Tetsuya Sodo
New Member

Re: Windows Firewall exception : How to assign a port range ?

Finally, we have done the configuration below.

1. configure RPC dynamic port using registry
http://support.microsoft.com/kb/154596/en-us

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\Internet
"Ports"="5100-5250" (type: REG_MULTI_SZ)
"PortsInternetAvailable"="Y"
"UseInternetPorts"="Y"

2. configure windows firewall opening ports from 5100 to 5250 (set a port one by one using shell)

3. set each node of the cluster to the same configuration as 1. and 2.

MSCS(RPC) seems to require both node to open ports of the same number.


With these environment, the domain controllers and the clusters work fine.
Thank you all.
Tetsuya Sodo
New Member

Re: Windows Firewall exception : How to assign a port range ?

We can solve this problem, so I will close this thread. Thank you.