Skip to main content
Glama

create_firewall_rule

Define new firewall rules on OPNSense by specifying action, interface, direction, protocol, source, and destination. Configure traffic control for enhanced network security and management.

Instructions

Create a new firewall rule

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesRule action (pass/block/reject)
descriptionNoRule description
destinationYesDestination address/network or "any"
destinationPortNoDestination port (for TCP/UDP)
directionYesTraffic direction
enabledNoEnable rule
interfaceYesInterface name
protocolYesProtocol (any/tcp/udp/icmp)
sourceYesSource address/network or "any"
sourcePortNoSource port (for TCP/UDP)

Latest Blog Posts

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