Actions

Toolpack:Create Sbc Access Rule A: Difference between revisions

 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== '''''Applies to version(s): v2.10''''' ===
=== '''''Applies to version(s): v2.10''''' ===


{{DISPLAYTITLE:Enable the Session Border Gateway}}
{{DISPLAYTITLE:Create Session Border Gateway Access Rules and Filters}}


In addition to the default access rules that are included with the SBC, one or more custom rules can be created and their priority in a series of rules can be set. To add a new rule or to change its priority, do the following:
In addition to the default access rules that are included with the SBC, one or more custom rules can be created and their priority in a series of rules can be set. To add a new rule or to change its priority, do the following:
Line 26: Line 26:
<br/><br/>
<br/><br/>


5-To define what the rule will do, click '''Create New Filter'''.
[[Image:Sbc_Rule_2a.png]]
<br/><br/>
<br/><br/>


6-Enter values for the filter.
<div class="mw-collapsible mw-collapsed" data-collapsetext="Northbound Interface" data-expandtext="Northbound Interface" style="width: 400px;">
*Click '''Create'''
 
[[Image:Sbc_Rule_3.png]]
<br/><br/>
 
 
'''To change the priority of an access rule, use the arrow icons.'''
*To increase the priority of an access rule, use either the double or single arrow [[Image:Sbc_Rule_6.png]] to move the rule up by one position, or to the top of the list.
 
*To decrease the priority of an access rule, use either the double or single arrow [[Image:Sbc_Rule_7.png]] to move the rule down by one position, or to the bottom of the list.
 
 
'''Position of sample rule before it is moved'''
[[Image:Sbc_Rule_4.png]]
<br/><br/>


'''Position of sample rule after it is moved'''
[[Image:Sbc_Rule_5.png]]
<br/><br/>
<div class="mw-collapsible mw-collapsed" data-collapsetext="Northbound Interface" data-expandtext="Northbound Interface" style="width: 400px;">


'''Path'''
'''Path'''
<pre>
<pre>
/configurations/@[configuration_name]/hardware_units/@[hardware_name]
/configurations/@[configuration_name]/firewalls/firewall/rules/@[firewall_rule]
</pre>
</pre>


'''Parameters (text)'''
'''Parameters (text)'''
<pre>
<pre>
/configurations/@[configuration_name]/hardware_units/@[hardware_name]
/configurations/@[configuration_name]/firewalls/firewall/rules/@[firewall_rule]
description             = ""
automatic          = true
graceful_upgrade_timeout = 0
description         = "Drop all packets reaching this rule when in DOS/DDOS mode"
is_np1_backup            = false
enabled            = true
location                = ""
firewall_entry_type = "DDOS_PROTECTION"
name                     = "@[hardware_name]"
name               = "DDOS_PROTECTION"
serial_number            = "@[serial_number]"
priority           = 4
target_state            = "Enabled"
tdm_line_type           = "E1_T1_J1"
type                    = "TDM/IP Gateway"


/configurations/@[configuration_name]/firewalls/firewall/rules/@[firewall_rule]/filters
</pre>
</pre>


'''Parameters (json)'''
'''Parameters (json)'''
Firewall Rule
<pre>
<pre>
 
{
  "automatic" : true,
  "description" : "Drop all packets reaching this rule when in DOS/DDOS mode",
  "enabled" : true,
  "firewall_entry_type" : "DDOS_PROTECTION",
  "name" : "@[firewall_rule]",
  "priority" : 4,
  "filters" : {
  }
}
</pre>
</pre>
</div>
</div>


==List of Parameters==
==List of Parameters==
* [[Parameter: SBC Enabled|Enabled]]
SBC Rule
* [[Parameter: SBC Name|Name]]
* [[Parameter: SBC Rule Enabled|Enabled]]
* [[Parameter: SBC Type|Serial]]
* [[Parameter: SBC Rule Name|Name]]
* [[Parameter: SBC Description|Description]]
* [[Parameter: SBC Rule Type|Type]]
 
* [[Parameter: SBC Rule Description|Description]]
 
<br>
<br>

Latest revision as of 13:16, 11 October 2016

Applies to version(s): v2.10

In addition to the default access rules that are included with the SBC, one or more custom rules can be created and their priority in a series of rules can be set. To add a new rule or to change its priority, do the following:

1-Click SBC in the navigation panel.



2-Click Create New Rule.



3-Enter values for the rule.

  • Click Create



4-Verify that Firewall rules were successfully created message is displayed.






Path

/configurations/@[configuration_name]/firewalls/firewall/rules/@[firewall_rule]

Parameters (text)

/configurations/@[configuration_name]/firewalls/firewall/rules/@[firewall_rule]
automatic           = true
description         = "Drop all packets reaching this rule when in DOS/DDOS mode"
enabled             = true
firewall_entry_type = "DDOS_PROTECTION"
name                = "DDOS_PROTECTION"
priority            = 4

/configurations/@[configuration_name]/firewalls/firewall/rules/@[firewall_rule]/filters


Parameters (json) Firewall Rule

{
  "automatic" : true,
  "description" : "Drop all packets reaching this rule when in DOS/DDOS mode",
  "enabled" : true,
  "firewall_entry_type" : "DDOS_PROTECTION",
  "name" : "@[firewall_rule]",
  "priority" : 4,
  "filters" : {
  }
}

List of Parameters

SBC Rule