DumbMonit

ИнтеграцииСеть и межсетевые экраны

Мониторинг OPNsense в DumbMonit

Gateway latency and loss, VPN tunnels, DHCP leases, services and pending updates.

ДокументацияОфициальный сайт: OPNsense

Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.

Что проверяет DumbMonit

Open source firewall and router: the state of every gateway with its round-trip time and packet loss, the pf state table, interface counters and addresses, VPN tunnels, DHCP leases, the resolver, services, CARP and pending updates. This integration was built and verified against OPNsense 26.1, the official image started in a virtual machine for the purpose, with the restricted API key described below — not against a firewall that has been routing a household's traffic for years. Every call is a read and every shape comes from that real OPNsense, but its gateways had no monitor address, it was not part of a CARP pair and ran no OpenVPN or IPsec tunnel: those parts follow OPNsense's source…

Типичное применение. Firewall, router, multi-WAN edge

Примеры

  • OPNsense firewall
  • Home router
  • Multi-WAN edge

Как подключается

Что понадобится

  • API key and secretThe two lines of the file OPNsense downloads when the key is created.

Сетевые порты, которые нужно открыть

  • 443/TCPAPI (HTTPS, default)
  • 80/TCPOnly with the HTTP protocol option
Шаги настройки: Create a read-only API key in OPNsense
  1. System → Access → Groups → Add: name the group as follows.

    dumbmonit
  2. In that group, under Assigned Privileges, add the privileges listed below.

  3. System → Access → Users → Add: name the user as follows, generate a password, and make it a member of that group.

    dumbmonit
  4. Edit the user, click + under API keys, and save the downloaded file: it holds the key and the secret, shown only once.

  5. In DumbMonit, enter the firewall address (192.168.1.1 or fw.lan:8443), the key as API key and the secret as API secret.

Обратите внимание. An API key is a password that never expires: restrict the group's source networks to the DumbMonit host and never grant All pages. OPNsense ships a self-signed certificate: tick "Accept an unverifiable certificate" if the connection is refused.