# Data Object - HostNatServiceSpec(vim.host.NatService.Specification)

Property of
  HostNatService, HostNatServiceConfig
Extends
  DynamicData
See also
  HostNatServiceNameServiceSpec, HostNatServicePortForwardSpec
Since
  VI API 2.5

## Data Object Description

This data object type provides the details about the Network Address Translation (NAT) service.

Properties

Name | Type | Description
--- | --- | ---
activeFtp | xsd:boolean | The flag to indicate whether or not non-passive mode FTP connections should be allowed.
allowAnyOui | xsd:boolean | The flag to indicate whether or not the NAT Service allows media access control traffic from any Organizational Unique Identifier (OUI)? By default, it does not allow traffic that originated from the host to avoid packet loops.
configPort | xsd:boolean | The flag to indicate whether or not the NAT Service should open a configuration port.
ipGatewayAddress | xsd:string | The IP address that the NAT Service should use on the virtual network.
nameService* | HostNatServiceNameServiceSpec | The configuration of naming services. These parameters are specific to Windows.
portForward* | HostNatServicePortForwardSpec[] | The port forwarding specifications to allow network connections to be initiated from outside the firewall.
udpTimeout | xsd:int | The time allotted for UDP packets.
virtualSwitch | xsd:string | The name of the virtual switch to which nat service is connected.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="HostNatServiceSpec"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="virtualSwitch" type="xsd:string"/> <element name="activeFtp" type="xsd:boolean"/> <element name="allowAnyOui" type="xsd:boolean"/> <element name="configPort" type="xsd:boolean"/> <element name="ipGatewayAddress" type="xsd:string"/> <element name="udpTimeout" type="xsd:int"/> <element name="portForward" type="pbm:HostNatServicePortForwardSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="nameService" type="pbm:HostNatServiceNameServiceSpec" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>