Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

devops-opnsense

БесплатноЗапускает вложенные скриптыНе проверен

Use when operating an OPNsense firewall/router - interfaces, VLANs and bridges, firewall rules and NAT, DNS (Unbound) and DHCP (Dnsmasq, Kea)…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

Covers day-to-day and risky operations on an OPNsense firewall: network objects, rules and NAT, DNS/DHCP, VPN, multi-WAN, HA, plugins, upgrades and rollback, backup, API and automation, VM deployment and troubleshooting, with a lock-out-proof way to apply every risky change. Does not cover Linux host firewalls and generic networking (devops-networking), Proxmox administration (devops-proxmox), or security audits (fuse-security:security-expert).

DevOps OPNsense

Agent Workflow (MANDATORY)

Before ANY change, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - find existing OPNsense IaC (Terraform/OpenTofu, Ansible), exported config.xml and runbooks
  2. fuse-ai-pilot:research-expert - verify menu paths, API endpoints and plugin names against docs.opnsense.org for the installed release
  3. mcp__context7__query-docs - library docs if the automation uses a provider or collection

Then inspect read-only (GUI views, GET API calls) and confirm the installed version first. After file changes (templates, IaC), run fuse-ai-pilot:sniper.

Versions (checked 2026-11-10)

See the frontmatter versions map and the "Sources" of each reference. Community Edition 26.7 series on FreeBSD 15.1; Business Edition series 26.10 is listed. Menu paths and API endpoints change between series: check the release page of the installed version before quoting a path.

Overview

Area Decision in one line
Rules MVC rules are the default; order is Floating > group > interface; quick is first-match; NAT is evaluated before filter rules
DHCP Dnsmasq for small/medium, Kea for large HA, ISC is end of life
VPN WireGuard for simple tunnels, IPsec connections (swanctl) for interop, OpenVPN 2.7 shipped in 26.7
Multi-WAN Monitor IPs + gateway group tiers + policy rule on the traffic that should fail over
HA CARP VIPs + pfsync on a dedicated link + XMLRPC sync from master only; same version on both nodes
Upgrade Major upgrades are offline: console, snapshot (ZFS) or VM snapshot, config backup first
API Basic auth with key/secret, read first, then write, then apply step, then read back
Automation Third-party Ansible collection and Terraform provider, pre-production grade

Critical Rules

  1. Lock-out is the main danger. Every operation in the table of safe-opnsense-changes.md is proposed as ACTION / EFFECT / PROOF / ROLLBACK, console path and rollback stated first, then WAIT-FOR-GO
  2. Out-of-band access before any change to interfaces, rules on the management path, restores, upgrades or HA actions
  3. Backup before change: download config.xml, snapshot (ZFS) or VM snapshot; keep copies off-box and encrypted
  4. Read-only first: GUI views, GET API calls, pfctl -s ...; never pfctl -d or a state flush on a remote box without the format
  5. One change at a time, verified from a NEW session before the next
  6. Never invent a menu path, endpoint, command or flag: unknown = "not verified" (every reference ends with that list)
  7. Secrets stay out of output and Git: API key/secret and WireGuard keys only through environment variables or a secret store (devops-secrets)
  8. HA: change the master, sync to the backup; a backup node never holds sync settings

Reference Guide

Concepts

Topic Reference When to Consult
Safe changes safe-opnsense-changes.md Before ANY change that can cut access or lose state
Upgrades upgrade-rollback.md Release line, minor/major upgrades, snapshots, rollback
Rules and NAT firewall-nat-interfaces.md Interfaces, rule order, aliases, NAT modes
DNS/DHCP dns-dhcp.md Unbound, Dnsmasq, Kea, relay
VPN vpn.md WireGuard, IPsec, OpenVPN
Multi-WAN multiwan.md Gateways, groups, failover
HA ha-carp.md CARP, pfsync, config sync
Plugins plugins-proxy-ids.md Caddy/HAProxy/nginx, ACME, Suricata, CrowdSec
Backup and API backup-restore-api.md Backups, REST API, Ansible, OpenTofu
Console, VM, pfSense console-vm-pfsense.md Console menu, VM install, migrating from pfSense
Troubleshooting troubleshooting-order.md Any "cannot connect"

Templates

Template When to Use
api-calls.sh Read-only API calls with key/secret from environment
[config-backup.sh](referen
Полный SKILL.md на GitHub

Установить devops-opnsense в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/backup-restore-api.mdreferences/console-vm-pfsense.mdreferences/dns-dhcp.mdreferences/firewall-nat-interfaces.mdreferences/ha-carp.mdreferences/multiwan.mdreferences/plugins-proxy-ids.mdreferences/safe-opnsense-changes.mdreferences/templates/api-calls.shreferences/templates/carp-ha-checklist.mdreferences/templates/config-backup.shreferences/templates/opentofu-opnsense.tfreferences/templates/pre-upgrade-checklist.mdreferences/templates/requirements.ymlreferences/templates/rollback-checklist.mdreferences/templates/wireguard-checklist.mdreferences/troubleshooting-order.mdreferences/upgrade-rollback.mdreferences/vpn.md

FAQ

Что делает скилл devops-opnsense?

Use when operating an OPNsense firewall/router - interfaces, VLANs and bridges, firewall rules and NAT, DNS (Unbound) and DHCP (Dnsmasq, Kea), WireGuard/OpenVPN/IPsec, multi-WAN gateway groups, high availability (CARP, pfsync, config sync), reverse proxy and IDS plugins, firmware updates, major upgrades, snapshots and rollback, config.xml backup and restore, the REST API and automation (Ansible, OpenTofu), running OPNsense as a VM, and troubleshooting. Not for Linux host nftables or generic networking (devops-networking), Proxmox itself (devops-proxmox), or security audit (fuse-security:security-expert).

Как установить скилл devops-opnsense?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл devops-opnsense запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить devops-opnsense с