trustedIp

Description: filter incoming packets depending on the white or black IP addresses list : OBJECT

Element Type Description
enabled BOOL enable or disable the Trusted IP functionality (default:false)
mode STRING select the mode, black list or white list. In the white list  mode the incoming traffic from the trusted IP addresses will be processed, other traffic will be dropped. In the black list mode the incoming traffic from the Trusted IP addresses will be dropped, other traffic will be processed. Valid values are ‘whitelist’, ‘blacklist’. (default:’whitelist’)
rules ARRAY trusted IP filtering rules list
    name STRING rule name
    ipMode STRING source IP address mode. Use a single IP address with subnet mask (subnet mode) or IP range (range mode). valid values are ‘subnet’, ‘range’
    subnetSrcAddr STRING source IP address. Is used only when ipMode is ‘subnet’. example: [10.10.10.10]
    subnetSrcMask STRING source IP mask. Is used only when ipMode is ‘subnet’. examples [255.255.255.0], [24]
    rangeSrcAddrStart STRING source IP address start. Is used only when ipMode is ‘range’. example: [10.10.10.10]
    rangeSrcAddrEnd STRING source IP address end. is used only when ipMode is ‘range’. example: [10.10.10.20]
    protocol STRING the Internet protocol to use. valid values are ‘TCP’, ‘UDP’, ‘TCP/UDP’ and ‘ANY’ (default:ANY)
    dstPort STRING destination port. examples [5000], [6000:6002], [5000,6000-6002,8000:8010] (default:ANY)