<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Test Adapter pfsense v0.1.x GitHub]]></title><description><![CDATA[<h1>Test Adapter pfsense v0.1.x GitHub</h1>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Aktuelle Test-Version</strong></td>
<td>0.1.1</td>
</tr>
<tr>
<td><strong>Veröffentlichungsdatum</strong></td>
<td>02.10.2026</td>
</tr>
<tr>
<td><strong>Quelle</strong></td>
<td>GitHub / npm (noch nicht im Latest-Repository)</td>
</tr>
<tr>
<td><strong>GitHub</strong></td>
<td><a href="https://github.com/AlanSRU/ioBroker.pfsense" rel="nofollow ugc">https://github.com/AlanSRU/ioBroker.pfsense</a></td>
</tr>
<tr>
<td><strong>npm</strong></td>
<td><a href="https://www.npmjs.com/package/iobroker.pfsense" rel="nofollow ugc">https://www.npmjs.com/package/iobroker.pfsense</a></td>
</tr>
<tr>
<td><strong>Fehlermeldungen</strong></td>
<td><a href="https://github.com/AlanSRU/ioBroker.pfsense/issues" rel="nofollow ugc">https://github.com/AlanSRU/ioBroker.pfsense/issues</a></td>
</tr>
</tbody>
</table>
<blockquote>
<p dir="auto"><strong>Hinweis zur KI-Beteiligung:</strong> Dieser Adapter wurde mit Unterstützung einer KI (Claude) entwickelt. Den Code habe ich selbst manuell geprüft.</p>
</blockquote>
<p dir="auto">Hallo zusammen,</p>
<p dir="auto">ich stelle <strong>pfSense</strong> (<code>pfsense</code>) Version <strong>0.1.1</strong> zum Testen bereit.</p>
<p dir="auto">Überwacht und steuert pfSense-Firewalls über das pfSense-REST-API-Paket: Systemzustand, Schnittstellen, Gateways, Dienste, DHCP und Anwesenheit, VPN, CARP, Firewall-Regeln und Wake-on-LAN</p>
<h3>Was der Adapter macht</h3>
<p dir="auto">Der Adapter verbindet ioBroker mit einer <strong>pfSense-Firewall</strong> (Community Edition oder pfSense Plus) über das Community-Paket <strong>pfSense REST API</strong> (pfrest, v2.x). Eine Instanz entspricht einer Firewall.</p>
<ul>
<li><strong>System:</strong> Version, CPU, Load, RAM, Swap, Disk, mbuf, Temperatur, Uptime, Version des REST-API-Pakets mit Update-Hinweis</li>
<li><strong>Schnittstellen:</strong> Link-Status, Adressen, MAC, Medium, Zähler und <strong>live berechnete Datenraten</strong> (bit/s)</li>
<li><strong>Gateways:</strong> online/offline, Latenz, Paketverlust</li>
<li><strong>Dienste:</strong> Status jedes Dienstes, Start/Stopp/Neustart-Buttons</li>
<li><strong>Netzwerk und Anwesenheit:</strong> DHCP-Leases und ARP-Tabelle als Hostliste; Anwesenheitsgeräte (nach MAC) mit Karenzzeit, „zuletzt gesehen“ und Wake-on-LAN-Button. Ruhige Geräte werden vor der Abwesenheitsmeldung von der Firewall angepingt.</li>
<li><strong>VPN:</strong> OpenVPN-Server (verbundene Clients) und -Clients, WireGuard-Tunnel und -Peers, IPsec-Tunnel</li>
<li><strong>CARP:</strong> Ein/Aus und Wartungsmodus, Master/Backup je virtueller IP</li>
<li><strong>Firewall:</strong> Regeln mit Ein/Aus-Schalter (wird sofort angewendet), Aliase, Hinweis auf nicht angewendete Änderungen</li>
<li><strong>Optional:</strong> Neustart/Herunterfahren der Firewall (standardmäßig aus)</li>
<li><strong>Skripte:</strong> <code>sendTo</code>-Befehle für Wake-on-LAN, Dienste, Regeln, Alias-Einträge und die Hostliste</li>
</ul>
<h3>Getestet mit</h3>
<p dir="auto">pfSense CE 2.8.1 (VM unter Proxmox) mit REST-API-Paket v2.10.2. Live getestet: alle Werte oben, Dienst-Neustart, Regel-Schalter, Alias-Einträge, Wake-on-LAN, OpenVPN in beide Richtungen, WireGuard, IPsec (IKEv2), ein CARP-Paar mit Umschaltung über den Wartungsmodus, ein ausgefallenes Gateway, DHCP mit ISC und Kea, Anwesenheit eines LAN-Clients (gehen, wiederkommen, ruhiges Gerät).</p>
<p dir="auto"><strong>Nicht</strong> getestet: pfSense Plus und echte Netgate-Hardware (z. B. mit Temperatursensor). Rückmeldungen dazu sind besonders willkommen.</p>
<h3>Einrichtung auf der Firewall</h3>
<ol>
<li>Das <strong>pfSense REST API</strong>-Paket installieren – es ist nicht im pfSense-Paketmanager, siehe die Installationsanleitung auf <a href="https://pfrest.org/" rel="nofollow ugc">https://pfrest.org/</a>.</li>
<li>Unter <strong>System &gt; REST API</strong> die Key-Authentifizierung aktivieren und einen API-Schlüssel anlegen (am besten für einen eigenen Benutzer mit nur den nötigen Rechten; <code>api-v2-status-system-get</code> ist immer erforderlich).</li>
<li>In der Instanz Adresse eintragen, <strong>„Zertifikats-Fingerabdruck auslesen“</strong> klicken (funktioniert mit dem selbstsignierten Standardzertifikat), API-Schlüssel eintragen, <strong>„Verbindung testen“</strong>.</li>
</ol>
<h3>Bekannte Einschränkungen</h3>
<ul>
<li>Bei mehreren OpenVPN-Instanzen lassen sich diese über die API nicht starten/stoppen (Fehler im REST-API-Paket, gemeldet als pfrest/pfSense-pkg-RESTAPI#953). Der Status wird trotzdem angezeigt.</li>
<li>WireGuard kennt keinen Verbindungsstatus: ein Peer gilt als verbunden, wenn der letzte Handshake jünger als 3 Minuten ist.</li>
<li>Abwesenheit wird erst gemeldet, wenn der ARP-Eintrag der Firewall abgelaufen ist (bis 20 Minuten) plus Karenzzeit.</li>
</ul>
<h3>Bitte testen</h3>
<ul>
<li>Verschiedene Hardware und pfSense Plus; Firewalls mit vielen Schnittstellen, Regeln oder Diensten</li>
<li>Anwesenheit mit Handys (Schlafmodus, WLAN-Wechsel)</li>
<li>Multi-WAN / Gateway-Gruppen, HA-Paare (eine Instanz pro Knoten)</li>
<li>Ob Logmeldungen verständlich sind, wenn etwas fehlt (Paket, Rechte, Zertifikat)</li>
</ul>
<p dir="auto"><strong>Voraussetzungen:</strong></p>
<ul>
<li>Node.js 22 oder neuer</li>
<li>js-controller 6.0.11 oder neuer</li>
<li>Admin 7.6.20 oder neuer</li>
</ul>
<p dir="auto"><strong>Änderungen in v0.1.x:</strong></p>
<ul>
<li><strong>0.1.1</strong>: Veröffentlichung über CI mit npm-Provenienz; Dependabot-Konfiguration für Abhängigkeitsupdates</li>
<li><strong>0.1.0</strong>: Erste Version: System, Schnittstellen, Gateways, Dienste, DHCP/ARP-Hostliste und Anwesenheit, OpenVPN, WireGuard, IPsec, CARP, Firewall-Regeln und Aliase, Wake-on-LAN, optional Neustart/Herunterfahren</li>
</ul>
<p dir="auto">Installation (noch nicht im Latest-Repository): Admin → Adapter → <strong>"Benutzerdefiniert installieren"</strong> (GitHub-Symbol) → URL: <a href="https://github.com/AlanSRU/ioBroker.pfsense" rel="nofollow ugc">https://github.com/AlanSRU/ioBroker.pfsense</a></p>
<p dir="auto">Feedback, Fehlerberichte und Wünsche bitte hier im Thread oder als GitHub-Issue. Bei Fehlern bitte das Log (Loglevel "debug") und das Gerätemodell angeben.</p>
<hr />
<p dir="auto"><strong>English</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Current test version</strong></td>
<td>0.1.1</td>
</tr>
<tr>
<td><strong>Release date</strong></td>
<td>2026-10-02</td>
</tr>
<tr>
<td><strong>Source</strong></td>
<td>GitHub / npm (not yet in the latest repository)</td>
</tr>
<tr>
<td><strong>GitHub</strong></td>
<td><a href="https://github.com/AlanSRU/ioBroker.pfsense" rel="nofollow ugc">https://github.com/AlanSRU/ioBroker.pfsense</a></td>
</tr>
<tr>
<td><strong>npm</strong></td>
<td><a href="https://www.npmjs.com/package/iobroker.pfsense" rel="nofollow ugc">https://www.npmjs.com/package/iobroker.pfsense</a></td>
</tr>
<tr>
<td><strong>Issues</strong></td>
<td><a href="https://github.com/AlanSRU/ioBroker.pfsense/issues" rel="nofollow ugc">https://github.com/AlanSRU/ioBroker.pfsense/issues</a></td>
</tr>
</tbody>
</table>
<blockquote>
<p dir="auto"><strong>AI involvement:</strong> this adapter was developed with the help of an AI (Claude). The code has been manually reviewed by myself.</p>
</blockquote>
<p dir="auto"><strong>pfSense</strong> (<code>pfsense</code>) version <strong>0.1.1</strong> is ready for testing.</p>
<p dir="auto">Monitor and control pfSense firewalls through the pfSense REST API package: system health, interfaces, gateways, services, DHCP and presence, VPN, CARP, firewall rules and Wake-on-LAN</p>
<h3>What the adapter does</h3>
<p dir="auto">The adapter connects ioBroker to a <strong>pfSense firewall</strong> (Community Edition or pfSense Plus) through the community <strong>pfSense REST API</strong> package (pfrest, v2.x). One instance per firewall.</p>
<ul>
<li><strong>System:</strong> version, CPU, load, memory, swap, disk, mbuf, temperature, uptime, REST API package version with update flag</li>
<li><strong>Interfaces:</strong> link state, addresses, MAC, media, counters and <strong>live traffic rates</strong> (bit/s)</li>
<li><strong>Gateways:</strong> online/offline, latency, packet loss</li>
<li><strong>Services:</strong> status of every service, start/stop/restart buttons</li>
<li><strong>Network and presence:</strong> DHCP leases and ARP table as a host list; presence devices (by MAC) with a grace period, last-seen time and a Wake-on-LAN button. Quiet devices are pinged by the firewall before they are reported away.</li>
<li><strong>VPN:</strong> OpenVPN servers (connected clients) and clients, WireGuard tunnels and peers, IPsec tunnels</li>
<li><strong>CARP:</strong> enable and maintenance mode, master/backup per virtual IP</li>
<li><strong>Firewall:</strong> rules with an on/off switch (applied immediately), aliases, pending-changes flag</li>
<li><strong>Optional:</strong> reboot/shutdown of the firewall (off by default)</li>
<li><strong>Scripts:</strong> <code>sendTo</code> commands for Wake-on-LAN, services, rules, alias entries and the host list</li>
</ul>
<h3>Tested with</h3>
<p dir="auto">pfSense CE 2.8.1 (VM on Proxmox) with REST API package v2.10.2. Tested live: all values above, service restart, rule switch, alias entries, Wake-on-LAN, OpenVPN in both directions, WireGuard, IPsec (IKEv2), a CARP pair with failover through maintenance mode, a failed gateway, DHCP with ISC and Kea, presence of a LAN client (leaving, returning, quiet device).</p>
<p dir="auto"><strong>Not</strong> tested: pfSense Plus and real Netgate hardware (e.g. with a temperature sensor). Feedback on these is especially welcome.</p>
<h3>Firewall setup</h3>
<ol>
<li>Install the <strong>pfSense REST API</strong> package — it is not in the pfSense package manager; see the installation guide at <a href="https://pfrest.org/" rel="nofollow ugc">https://pfrest.org/</a>.</li>
<li>Under <strong>System &gt; REST API</strong>, enable key authentication and create an API key (ideally for a dedicated user with only the privileges needed; <code>api-v2-status-system-get</code> is always required).</li>
<li>In the instance, enter the address, click <strong>"Read certificate fingerprint"</strong> (works with the default self-signed certificate), enter the API key, <strong>"Test connection"</strong>.</li>
</ol>
<h3>Known limitations</h3>
<ul>
<li>With several OpenVPN instances, the API cannot start/stop them (bug in the REST API package, reported as pfrest/pfSense-pkg-RESTAPI#953). Their status is still shown.</li>
<li>WireGuard has no connection state: a peer counts as connected when its last handshake is less than 3 minutes old.</li>
<li>A device is reported away only once the firewall's ARP entry has expired (up to 20 minutes) plus the grace period.</li>
</ul>
<h3>Please test</h3>
<ul>
<li>Different hardware and pfSense Plus; firewalls with many interfaces, rules or services</li>
<li>Presence with phones (sleep mode, Wi-Fi roaming)</li>
<li>Multi-WAN / gateway groups, HA pairs (one instance per node)</li>
<li>Whether the log messages make sense when something is missing (package, privileges, certificate)</li>
</ul>
<p dir="auto"><strong>Requirements:</strong></p>
<ul>
<li>Node.js 22 or newer</li>
<li>js-controller 6.0.11 or newer</li>
<li>Admin 7.6.20 or newer</li>
</ul>
<p dir="auto"><strong>Changes in v0.1.x:</strong></p>
<ul>
<li><strong>0.1.1</strong>: Published through CI with npm provenance; Dependabot configuration for dependency updates</li>
<li><strong>0.1.0</strong>: Initial release: system, interfaces, gateways, services, DHCP/ARP host list and presence, OpenVPN, WireGuard, IPsec, CARP, firewall rules and aliases, Wake-on-LAN, optional reboot/shutdown</li>
</ul>
<p dir="auto">Install (not yet in the latest repository): Admin → Adapters → <strong>"Custom install"</strong> (GitHub icon) → URL: <a href="https://github.com/AlanSRU/ioBroker.pfsense" rel="nofollow ugc">https://github.com/AlanSRU/ioBroker.pfsense</a></p>
<p dir="auto">Feedback and bug reports welcome here or as GitHub issues; please include a debug log and the device model.</p>
]]></description><link>https://forum.iobroker.net/topic/85489/test-adapter-pfsense-v0.1.x-github</link><generator>RSS for Node</generator><lastBuildDate>Tue, 20 Oct 2026 03:15:13 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/85489.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Oct 2026 15:41:02 GMT</pubDate><ttl>60</ttl></channel></rss>