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
dstSpecInterface STRING Destination specific interface. Use for tunnels. Use only when ‘dstInterface’ is ‘OPENVPN’. (optional)
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
srcSpecInterface STRING Source specific interface. Use for tunnels. Use only when ‘srcInterface’ is ‘OPENVPN’. (optional)
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