> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/create-session-border-gateway-access-rule-filters.md).

# Create Session Border Gateway Access Rule Filters

#### ***Applies to version(s): v2.10***

To customize the actions of a firewall rule, you can add one or more filters to the rule.

1-Click **SBC** in the navigation panel.

![Sbc Enable 0](https://docs.telcobridges.com/w/images/0/01/Sbc_Enable_0.png)

2-Select a firewall rule.

![Sbc Filter 0](https://docs.telcobridges.com/w/images/8/82/Sbc_Filter_0.png)

3-To define what the rule will do, click **Create New Filter**.

![Sbc Rule 2a](https://docs.telcobridges.com/w/images/a/a2/Sbc_Rule_2a.png)

2-Enter values for the filter.

* Click **Create**

![Sbc Rule 3](https://docs.telcobridges.com/w/images/2/2b/Sbc_Rule_3.png)

**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 ![Sbc Rule 6](https://docs.telcobridges.com/w/images/2/29/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 ![Sbc Rule 7](https://docs.telcobridges.com/w/images/a/ac/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** ![Sbc Rule 4](https://docs.telcobridges.com/w/images/f/f1/Sbc_Rule_4.png)

**Position of sample rule after it is moved** ![Sbc Rule 5](https://docs.telcobridges.com/w/images/6/68/Sbc_Rule_5.png)

**Firewall Filter**

**Path**

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

**Parameters (text)**

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

custom_protocol             = 0
destination_ip              = "0.0.0.0"
destination_netmask         = "32"
destination_port            = "161"
entry_duration              = "15 minutes"
ip_interface                = ""
maximum_bandwidth           = "0 Bps"
maximum_bandwidth_packets   = "0 pps"
name                        = "@[firewall_filter]"
override_default_thresholds = false
protocol                    = "UDP"
source_ip                   = "0.0.0.0"
source_netmask              = "32"
source_port                 = "0"
temporary_ban_duration      = "5 minutes"
```

**Parameters (json)**

```
{
  "custom_protocol" : 0,
  "destination_ip" : "0.0.0.0",
  "destination_netmask" : "32",
  "destination_port" : "161",
  "entry_duration" : "15 minutes",
  "ip_interface" : "",
  "maximum_bandwidth" : "0 Bps",
  "maximum_bandwidth_packets" : "0 pps",
  "name" : "@[firewall_filter]",
  "override_default_thresholds" : false,
  "protocol" : "UDP",
  "source_ip" : "0.0.0.0",
  "source_netmask" : "32",
  "source_port" : "0",
  "temporary_ban_duration" : "5 minutes"
}
```

### List of Parameters

SBC Filter

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-name/README.md)
* [IP Interface](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-ip-interface/README.md)
* [Protocol](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-protocol/README.md)
* [Source IP](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-source-ip/README.md)
* [Source Netmask](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-source-netmask/README.md)
* [Source Port](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-source-port/README.md)
* [Destination IP](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-destination-ip/README.md)
* [Destination Netmask](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-destination-netmask/README.md)
* [Destination Port](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-destination-port/README.md)
* [Override Default Thresholds](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sbc-filter-override-default-thresholds/README.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/create-session-border-gateway-access-rule-filters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
