opnsense_fw_toggle_rule
Enable or disable a specific OPNsense firewall rule by its UUID to control network traffic flow through the firewall configuration.
Instructions
Enable or disable a firewall rule by UUID. Run opnsense_fw_apply afterwards to activate.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the rule to toggle | |
| enabled | Yes | 1 to enable, 0 to disable |