# Data Object - HostNatServicePortForwardSpec(vim.host.NatService.PortForwardSpecification)

Property of
  HostNatServiceSpec
Extends
  DynamicData
Since
  VI API 2.5

## Data Object Description

This data object type describes the Network Address Translation (NAT) port forwarding specification.

Properties

Name | Type | Description
--- | --- | ---
guestIpAddress | xsd:string | The IP address for the guest. Network traffic from the host is forwarded to this IP address.
guestPort | xsd:int | The port number for the guest. Network traffic from the host is forwarded to this port.
hostPort | xsd:int | The port number on the host. Network traffic sent to the host on this TCP/UDP port is forwarded to the guest at the specified IP address and port.
name | xsd:string | The user-defined name to identify the service being forwarded. No white spaces are allowed in the string.
type | xsd:string | Either "tcp" or "udp".
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="HostNatServicePortForwardSpec"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="type" type="xsd:string"/> <element name="name" type="xsd:string"/> <element name="hostPort" type="xsd:int"/> <element name="guestPort" type="xsd:int"/> <element name="guestIpAddress" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>