Restricting RPC dynamic ports on Exchange 2010 to work with firewalls.

For default Exchange 2010 use RPC dynamic ports from 1026 to 49000 on Mailbox rol
and RPC dynamic ports from 6005 to 49000 on Client Access rol.

If you are deploying CAS rol and MAILBOX between subnets and across firewall you can restrict RPC dynamic ports.
You can use command netsh for this task.
To show present configuration:

Netsh int ipv4 show dynamicportrange tcp
Netsh int ipv4 show dynamicportrange udp

To change configuration:

Netsh int ipv4 set dynamicportrange protocol=tcp startport=49152 numberofports=255
Netsh int ipv4 set dynamicportrange protocol=udp startport=49152 numberofports=255

Restart to apply changes.

Note: The minimum range of ports on W2008R2 that can be set is 255. The minimum starting port that can be set is 1025. The maximum end port (based on the range being configured) cannot exceed 65535.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s