次の方法で共有


2.2.1.2.200 IP_NAT_ADDRESS_MAPPING

The IP_NAT_ADDRESS_MAPPING structure holds a static mapping that ties an address from this NAT interface's address pool to a specific private-machine's address.

Note This address MUST fall within one of the ranges comprising the pool as specified by the IP_NAT_ADDRESS_RANGE structures.

 typedef struct _IP_NAT_ADDRESS_MAPPING {
   ULONG PrivateAddress;
   ULONG PublicAddress;
   BOOLEAN AllowInboundSessions;
 } IP_NAT_ADDRESS_MAPPING, *PIP_NAT_ADDRESS_MAPPING;

PrivateAddress: The private IP address of the translation.

PublicAddress: The public IP address of the translation.

AllowInboundSessions: This is of type BOOLEAN ([MS-DTYP] section 2.2.4). Specifies whether sessions from public networks are allowed.