add_firewall_rule
Add a firewall rule to allow, block, or reject traffic based on interface, protocol, source, destination, and port.
Instructions
Add a firewall rule. Type is 'pass', 'block', or 'reject'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | Yes | ||
| type | Yes | ||
| ipprotocol | No | inet | |
| protocol | No | ||
| source | No | any | |
| destination | No | any | |
| dstport | No | ||
| descr | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||