Provides configuration settings for Network Address Translation (NAT).
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[Dynamic, Provider("NetTtCim")]
class MSFT_NetNatTransitionConfiguration : MSFT_NetSettingData
{
string InstanceName;
uint32 PolicyStore;
uint32 State;
string InboundInterface[];
string OutboundInterface[];
string PrefixMapping[];
string IPv4AddressPortPool[];
TcpMappingTimeout;
};
Members
The MSFT_NetNatTransitionConfiguration class has these types of members:
Methods
The MSFT_NetNatTransitionConfiguration class has these methods.
| Method | Description |
|---|---|
| Disable | Turns NAT64 off. |
| Enable | Turns NAT64 on. |
Properties
The MSFT_NetNatTransitionConfiguration class has these properties.
InboundInterface
Data type: string array
Access type: Read/write
Indicates the names of the inbound interfaces.
InstanceName
Data type: string
Access type: Read-only
Indicates the name of this instance of Windows NAT.
IPv4AddressPortPool
Data type: string array
Access type: Read/write
Indicates the addresses and ports that are in the dedicated IPv4 address pool and port range.
OutboundInterface
Data type: string array
Access type: Read/write
Indicates the names of the outbound interfaces.
PolicyStore
Data type: uint32
Access type: Read/write
Specifies the store in which to store this configuration object.
PersistentStore (0)
ActiveStore (1)
PrefixMapping
Data type: string array
Access type: Read/write
Indicates how IPv4 address ranges map to IPv6 prefixes.
State
Data type: uint32
Access type: Read/write
Indicates whether NAT is turned on.
| Value | Meaning |
|---|---|
| Disabled 0 | NAT is turned off. |
| Enabled 1 | NAT is turned on. |
TcpMappingTimeout
Access type: Read/write
Indicates the amount of time an established TCP session can remain idle before timing out.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 |
| Minimum supported server | Windows Server 2012 |
| Namespace | Root\StandardCimv2 |
| MOF | NetTtCim.mof |
| DLL | NetTtCim.dll |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors (upstream author metadata: windowssdkdev). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
