SonicOS/X API Reference Guide

Object: Access Rules – IPv4

{

"access_rule": {

"ipv4": {

"from": "{string}",

"to": "{string}",

"action": "{string}",

"source": {

"address": {

"any": {true},

| "name": "{string}",

| "group": "{string}" },

"port": {

"any": {true},

| "name": "{string}",

| "group": "{string}" } },

"service": {

"any": {true},

| "name": "{string}",

| "group": "{string}" },

"destination": {

"address": {

"any": {true},

| "name": "{string}",

| "group": "{string}" } },

"schedule": {

"always_on": {true},

| "name": "{string}" },

"users": {

"included": {

"all": {true},

| "guests": {true},

| "administrator": {true},

| "name": "{string}",

| "group": "{string}" },

"excluded": {

"none": {true},

| "guests": {true},

| "administrator": {true},

| "name": "{string}",

| "group": "{string}" } },

"uuid": "{string}",

"name": "{string}",

"comment": "{string}",

"enable": {boolean},

"reflexive": {boolean},

"max_connections": {number},

"logging": {boolean},

"management": {boolean},

"packet_monitoring": {boolean},

"priority": {

"auto": {true},

| "manual": {number} },

"tcp": {

"timeout": {number} },

"udp": {

"timeout": {number} },

"fragments": {boolean},

"botnet_filter": {boolean},

"connection_limit": {

"destination": {

"threshold": {number} },

"source": {

"threshold": {number} } },

"flow_reporting": {boolean},

"geo_ip_filter": {boolean},

"single_sign_on": {boolean},

"cos_override": {boolean},

"quality_of_service": {

"class_of_service": {

"explicit": "{string}",

| "map": {true},

| "preserve": {true} },

"dscp": {

"explicit": {number},

| "map": {true},

| "preserve": {true} } } }

}}

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden