If a virtual machine that uses NAT attempts to connect to a server that requires the client to use a source port below 1024, the NAT device must forward the request from a port below 1024. For security reasons, some servers accept connections only from source ports below 1024.
The parameters that control virtual machine source and destination ports are in the [privilegedUDP]
and [privilegedTCP]
sections in the NAT configuration file. You might need to add settings or modify settings in either or both of these sections, depending on the kind of connection you need to make. You can set two parameters, each of which appears on a separate line.
Parameter | Description |
---|---|
autodetect = n | Determines whether the NAT device attempts to map virtual machine source ports below 1024 to NAT source ports below 1024. A setting of 1 means true. A setting of 0 means false. On a Windows host, the default is 1 (true). On a Linux host, the default is 0 (false). |
port = n | Specifies a destination port, where n is the port on the server that accepts the connection from the client. When a virtual machine connects to the specified port on any server, the NAT device attempts to make the connection from a source port below 1024. You can include one or more port settings in the [privilegedUDP] or [privilegedTCP] section or in both sections, as required for the connections you need to make. Enter each port setting on a separate line. |
See Editing the NAT Configuration File for more information.