Opnsense Mgmt Plugin
Claude Code plugin for managing OPNsense routers — SSH + API, with externalized per-host config
About This Project
The Opnsense-Mgmt-Plugin is a Claude Code plugin that lets a user query and inspect an OPNsense router or firewall through natural-language requests. It provides two skills: an onboarding skill that interactively collects connection details such as host address, SSH user, SSH key path, web URL, and optional API credential references, and a maintenance skill that reads firewall rules, NAT configuration, interfaces, DHCP leases, ARP tables, system logs, and VPN status. Diagnostics run over SSH, with optional calls to the OPNsense API.
Host-specific data is stored in a config.json file in the user data directory, following a plugin data storage convention, so the plugin code itself remains read-only and survives updates. Secrets are not written to the config; it holds only references to where credentials live, such as a 1Password item, environment variable, or file path, and skills resolve these at runtime. This separation allows a single plugin installation to work against multiple OPNsense routers.
The plugin is likely to be useful to home lab operators and network administrators who run OPNsense and use Claude Code as an operational assistant, particularly those who want conversational access to firewall state without manually running SSH commands or navigating the web interface. It is released under the MIT license.