| addinat |
Use this method to adds an INAT rule to the Citrix ADC. When a packet generated by a client matches the conditions specified in the INAT rule, the appliance translates the packet's public destination IP address to a private destination IP address and forwards the packet to the server at that address. |
Syntax |
Parameters |
name |
Name for the Inbound NAT (INAT) entry. Leading character must be a number or letter. Other characters allowed, after the first character, are @ _ - . (period) : (colon) # and space ( ). This is mandatory parameter. |
publicip |
Public IP address of packets received on the Citrix ADC. Can be aNetScaler-owned VIP or VIP6 address. This is mandatory parameter. Minimum value = 1. |
privateip |
IP address of the server to which the packet is sent by the Citrix ADC. Can be an IPv4 or IPv6 address. This is mandatory parameter. Minimum value = 1. |
mode |
Stateless translation. |
tcpproxy |
Enable TCP proxy, which enables the Citrix ADC to optimize the RNAT TCP traffic by using Layer 4 features. Default value = DISABLED. |
ftp |
Enable the FTP protocol on the server for transferring files between the client and the server. Default value = DISABLED. |
tftp |
To enable/disable TFTP (Default DISABLED). Default value = DISABLED. |
usip |
Enable the Citrix ADC to retain the source IP address of packets before sending the packets to the server. Default value = VAL_NOT_SET. |
usnip |
Enable the Citrix ADC to use a SNIP address as the source IP address of packets before sending the packets to the server. Default value = VAL_NOT_SET. |
proxyip |
Unique IP address used as the source IP address in packets sent to the server. Must be a MIP or SNIP address. |
useproxyport |
Enable the Citrix ADC to proxy the source port of packets before sending the packets to the server. Default value = ENABLED. |
connfailover |
Synchronize connection information with the secondary appliance in a high availability (HA) pair. That is, synchronize all connection-related information for the INAT session Default value = DISABLED. |
Return Value |
Returns simpleResult |
See Also |