filters

Description: array of firewall filters : ARRAY

Element Type Description
__v UINT Version of model [2] (automatic)
chain STRING Chain to apply the rule : INPUT, OUTPUT, or FORWARD
description STRING Short description of the rule
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)
enabled BOOL Enable or disable this rule
name STRING Specifies the unique name of rule
protocol STRING Specifies the packet protocol (optional). examples [TCP], [UDP], [TCP,UDP], [TCP/UDP]
srcAddr STRING Specifies the source IP address of packet (optional)
srcInterface STRING Specifies the source interface to apply rule (optional). examples [WAN], [LAN], [CELLULAR], [WIFI]
srcMac STRING Specifies the source MAC address
srcMask STRING Specifies the source IP mask of packet (optional). examples [255:255:255:0], [24]
srcPort STRING Specifies the 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 the rule/filter: ACCEPT, REJECT, LOG or DROP