update_firewall_rule
Modify firewall rule settings such as source, destination, ports, and description on OPNSense MCP Server using the rule's UUID for precise configuration updates.
Instructions
Update a firewall rule
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | New description | |
| destination | No | New destination | |
| destinationPort | No | New destination port | |
| enabled | No | Enable/disable rule | |
| source | No | New source | |
| sourcePort | No | New source port | |
| uuid | Yes | Firewall rule UUID |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "New description",
"type": "string"
},
"destination": {
"description": "New destination",
"type": "string"
},
"destinationPort": {
"description": "New destination port",
"type": "string"
},
"enabled": {
"description": "Enable/disable rule",
"type": "boolean"
},
"source": {
"description": "New source",
"type": "string"
},
"sourcePort": {
"description": "New source port",
"type": "string"
},
"uuid": {
"description": "Firewall rule UUID",
"type": "string"
}
},
"required": [
"uuid"
],
"type": "object"
}