opnsense_fw_update_rule
Update an OPNsense firewall rule by UUID to change its action, direction, interface, or other parameters. Apply changes afterward to activate.
Instructions
Update an existing firewall filter rule by UUID. Run opnsense_fw_apply afterwards to activate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the rule to update | |
| action | Yes | Rule action | |
| direction | Yes | Traffic direction | |
| interface | No | Interface name | |
| protocol | No | Protocol | |
| source_net | No | Source network | |
| destination_net | No | Destination network | |
| destination_port | No | Destination port or range | |
| description | No | Rule description |