Opnsense Firewall
Full OPNsense management via REST API — system status, interfaces, DNS, tunables, services, firmware/plugins, firewall states, DHCP leases, ARP table, Tailscale, WireGuard, and raw API passthrough. Replaces MCP server.
| Argument | Type | Description |
|---|---|---|
| path | string | API path after /api/ (e.g., 'core/firmware/status', 'tailscale/general/get') |
| method | enum | HTTP method — GET for reads, POST for writes/actions |
| body? | record | POST body as JSON object (omit for GET requests) |
Resources
Modernization: idempotency, live pre-flight checks, sensitive-field marking, resource-write fixes per audit. No breaking API changes.
Modified 1 models
Align model version fields with manifest (2026.05.26.1); republish under swamp 20260526 conventions
Add JSDoc to model entrypoints to satisfy rubric v2 symbols-docs factor
Remove _client.ts from manifest entrypoint list — it's a shared helper, not a model. The Swamp Club quality scorer lints manifest entrypoints; including _client.ts there exposed slow-type errors and cost the fast-check factor (91% → 100%).
Add curated README and LICENSE to tarball (additionalFiles), bringing extension's Swamp Club quality grade from F/B to A-/B.
Add .meta({ sensitive: true }) to apiKey and apiSecret credentials
Full rebuild: 20 methods including raw API passthrough, Tailscale, WireGuard, firmware/plugin management, service control, ARP, DHCP, gateway health. Replaces MCP server.
Modified 1 models
Pin zod to 4.3.6
Remove MSP-specific language from description and labels
Initial release: system status, interface stats, DNS analytics, tunable management. Tested against OPNsense 26.1.2 on FreeBSD 14.
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned