nat

Description: list of NAT rules for advanced firewall settings : ARRAY

Element Type Description
__v UINT Version of model [2]
chain STRING Chain to apply rule : PREROUTING, or POSTROUTING
description STRING Short description of rule (optional)
dstAddr STRING Destination IP address of packet (optional)
dstInterface STRING Destination interface to apply rule (optional). examples: WAN, LAN, CELLULAR, WIFI
dstMask STRING Destination IP mask (optional). examples: 255:255:255:0, 24
dstPort STRING Destination IP port (optional). examples: 5000, 6000:6002, 5000, 6000-6002, 8000:8010
enableNatLoopback BOOL Enables or disables NAT loopback
enabled BOOL Enables or disables this rule
guid STRING Rule ID (automatic)
name STRING Unique name of rule
protocol STRING Specifies the packet protocol (optional). examples: TCP, UDP, TCP, UDP, TCP/UDP
srcAddr STRING Source IP address of packet (optional)
srcInterface STRING Specifies the source interface to apply rule (optional). examples: WAN, LAN, CELLULAR, WIFI
srcMac STRING Source MAC address
srcMask STRING Source IP mask of packet (optional). examples: 255:255:255:0, 24
srcPort STRING Source IP port (optional). examples: 5000, 6000:6002, 5000, 6000-6002, 8000:8010
target STRING Target of NAT rule: DNAT, SNAT, or MASQUERADE
toAddr STRING Network address translation of IP address
toPort STRING Network address translation of IP ports. examples: 5000, 6000:6002, 5000, 6000-6002, 8000:8010