Skip to main content
Glama

OPNSense MCP Server

create_firewall_preset

Generate firewall rules from predefined presets on the OPNSense MCP Server, specifying interface and optional source, destination, and description overrides for network security configurations.

Instructions

Create a firewall rule from a preset

Input Schema

NameRequiredDescriptionDefault
descriptionNoDescription override (optional)
destinationNoDestination override (optional)
interfaceYesInterface name
presetYesPreset name
sourceNoSource override (optional)

Input Schema (JSON Schema)

{ "properties": { "description": { "description": "Description override (optional)", "type": "string" }, "destination": { "description": "Destination override (optional)", "type": "string" }, "interface": { "description": "Interface name", "type": "string" }, "preset": { "description": "Preset name", "enum": [ "allow-web", "allow-ssh", "allow-minecraft", "block-all" ], "type": "string" }, "source": { "description": "Source override (optional)", "type": "string" } }, "required": [ "preset", "interface" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vespo92/OPNSenseMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server