ssh_fw_rule
Creates OPNsense firewall rules over SSH, avoiding API limitations. Configure source, destination, protocol, and action to enforce network policies.
Instructions
Create firewall rules via SSH (bypasses API issues)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| interface | No | lan | |
| action | No | block | |
| protocol | No | any | |
| source_net | No | any | |
| source_port | No | any | |
| destination_net | No | any | |
| destination_port | No | any | |
| direction | No | in | |
| ipprotocol | No | inet | |
| enabled | No | ||
| apply | No |