Description
hass-opnsense is a Home Assistant integration for OPNsense, the open source firewall and router platform. It connects your OPNsense system to Home Assistant and exposes its data as entities, including binary sensors, sensors, switches and device trackers. The integration uses the aiopnsense library as its backend client, which the project also publishes on PyPI and GitHub. It requires OPNsense firmware 25.1 or later. On firmware 25.1 through 26.1.0 the integration still works, but firewall and NAT rule switches are not available. From firmware 26.1.1 those rule switches are supported too. The README covers installation, including a manual method, and configuration. Configuration topics include the OPNsense device entry, CARP virtual IP entries and a recommended CARP topology, creating a dedicated OPNsense user, granular sync, and the available options. A Discord server is linked for discussion, and the project is public on GitHub.…
Highlights
- Entities for sensors, switches and device trackers
- Firewall and NAT rule switches on firmware 26.1.1+
- Works with OPNsense 25.1 and later
- CARP virtual IP and topology setup
- Built on the aiopnsense client
Ratings & Reviews
No ratings yet
Be the first to rate Hass Opnsense.
People also visit
Hass Opnsense FAQ
What is hass-opnsense?
A Home Assistant integration that connects an OPNsense firewall and router to Home Assistant.
Which OPNsense version do I need?
OPNsense firmware 25.1 or later. The firewall and NAT rule switches need firmware 26.1.1 or later.
What can I see in Home Assistant?
Entities such as binary sensors, sensors, switches and device trackers, as listed in the README.
Does it need a special OPNsense user?
The README has a section on creating a dedicated OPNsense user for the integration.
Where can I get help?
The README links a Discord server for the integration, which is open for discussion.
What are the best Hass Opnsense alternatives?
Popular alternatives to Hass Opnsense include Hass Pfsense, Home Assistant and Go Hass Agent. See all Hass Opnsense alternatives



