add_firewall_rule
Create a staged firewall rule to pass, block, or reject traffic, then apply changes to activate it.
Instructions
Add a firewall rule. Type is 'pass', 'block', or 'reject'.
The rule is staged (not active) until apply_changes('firewall') is called or apply=true is passed here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| apply | No | ||
| descr | No | ||
| source | No | any | |
| dstport | No | ||
| protocol | No | ||
| interface | Yes | ||
| ipprotocol | No | inet | |
| destination | No | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||