Azure Pack / SCVMM NAT Rule Port Ranges


When you are creating NAT rules either in VMM or Azure Pack you should know there are some limitations on Source and Destination Ports. When we open Azure Pack Tenant portal, go to our VM Network, than to Rules you have the Add button on bottom. This assumes that you’ve already enabled NAT for that VM Network. When you click Add the following dialog appears:

image

The name of the NAT rule does not necessary needs to be unique. What needs to be unique for VM Network/NAT connection is the pair of Source Port and Protocol.

Now about the port ranges for Source and Destination:

  • There are no limitations for Destination Port than the standard one. There you can put any number from 1- 65535.
  • For source port you can put number only in the following range 1-49151. The reason behind this is probably ports above 49151 are used by the gateway itself.

The same rules apply when you use VMM PowerShell or VMM console.

You can find more about ports here.

Advertisements

One thought on “Azure Pack / SCVMM NAT Rule Port Ranges

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s