firewall_list_rules
List all firewall rules
How to use it
firewall_list_rules is exposed by the OPNSenseMCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the firewall_list_rules tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install OPNSenseMCP
$
npx tsx scripts/test/test-nat-ssh.tsOther tools in OPNSenseMCP (17)
arp_list
List ARP table entries
backup_create
Create configuration backup
firewall_apply_changes
Apply pending changes
firewall_create_rule
Create a new rule
firewall_delete_rule
Delete a rule
firewall_update_rule
Update existing rule
interface_list
List network interfaces
nat_analyze_config
Analyze NAT configuration
nat_create_outbound_rule
Create NAT rule
nat_fix_dmz
Fix DMZ NAT issues
nat_list_outbound
List outbound NAT rules
nat_set_mode
Set NAT mode
routing_diagnostics
Diagnose routing issues
routing_fix_all
Auto-fix routing problems
service_restart
Restart a service
system_execute_command
Execute CLI command
vlan_create
Create VLAN