Internet Direct (Indy) Version 9.0.1 Beta
TIdTunnelMaster.LockDestinationPort
Indicates if the tunnel client port number must reflect the mapped port.

property LockDestinationPort: Boolean;
Description
LockDestinationPort

LockDestinationPort is a Boolean property that indicates if the tunnel client port number must reflect the mapped port number. When a TCP client for the tunnel connection, LockDestinationPort is used to determine if the port number of the client is the MappedPort from the tunnel server or the local port number for the client using the tunnel.

When LockDestinationPort is True, the tunnel server MappedPort property is used as the Port for TCP client connection. When LockDestinationPort is False, the local port number for the tunnel client is used as the Port for TCP client connection.