HostNatServiceSpec

HostNatServiceSpec
HostNatServiceSpec

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "virtualSwitch": "string",
    "activeFtp": false,
    "allowAnyOui": false,
    "configPort": false,
    "ipGatewayAddress": "string",
    "udpTimeout": 0,
    "portForward": [
        {
            "_typeName": "string",
            "type": "string",
            "name": "string",
            "hostPort": 0,
            "guestPort": 0,
            "guestIpAddress": "string"
        }
    ],
    "nameService": {
        "_typeName": "string",
        "dnsAutoDetect": false,
        "dnsPolicy": "string",
        "dnsRetries": 0,
        "dnsTimeout": 0,
        "dnsNameServer": [
            "string"
        ],
        "nbdsTimeout": 0,
        "nbnsRetries": 0,
        "nbnsTimeout": 0
    }
}
string
virtualSwitch
Required

The name of the virtual switch to which nat service is connected.

boolean
activeFtp
Required

The flag to indicate whether or not non-passive mode FTP connections should be allowed.

boolean
allowAnyOui
Required

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.

boolean
configPort
Required

The flag to indicate whether or not the NAT Service should open a configuration port.

string
ipGatewayAddress
Required

The IP address that the NAT Service should use on the virtual network.

integer As int32 As int32
udpTimeout
Required

The time allotted for UDP packets.

portForward
Optional

The port forwarding specifications to allow network connections to be initiated from outside the firewall.

nameService
Optional

This data object type specifies the information for the name servers.