Thanks, @meyergru and @Monviech (Cedrik). The issues have been resolved with v0.4.5 of the OPNsense integration "hass-opnsense".
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: meyergru on July 26, 2025, 12:39:03 PMYes, see: https://forum.opnsense.org/index.php?topic=48092
2025-07-26T12:27:30Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:42Errorapiuri /api/diagnostics/system/systemTemperature not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:42Errorapiuri /api/diagnostics/system/systemDisk not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:40Errorapiuri /api/diagnostics/system/systemTime not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:39Errorapiuri /api/diagnostics/system/systemResources not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:37Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:01Errorapiuri /api/diagnostics/system/systemTemperature not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:34:01Errorapiuri /api/diagnostics/system/systemDisk not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:58Errorapiuri /api/diagnostics/system/systemTime not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:57Errorapiuri /api/diagnostics/system/systemResources not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:55Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:19Errorapiuri /api/diagnostics/system/systemTemperature not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:19Errorapiuri /api/diagnostics/system/systemDisk not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:17Errorapiuri /api/diagnostics/system/systemTime not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:16Errorapiuri /api/diagnostics/system/systemResources not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:33:14Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:32:38Errorapiuri /api/diagnostics/system/systemTemperature not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:32:38Errorapiuri /api/diagnostics/system/systemDisk not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:32:36Errorapiuri /api/diagnostics/system/systemTime not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:32:35Errorapiuri /api/diagnostics/system/systemResources not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:32:33Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:57Errorapiuri /api/diagnostics/system/systemTemperature not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:57Errorapiuri /api/diagnostics/system/systemDisk not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:55Errorapiuri /api/diagnostics/system/systemTime not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:54Errorapiuri /api/diagnostics/system/systemResources not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:52Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:17Errorapiuri /api/diagnostics/system/systemTemperature not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:16Errorapiuri /api/diagnostics/system/systemDisk not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:14Errorapiuri /api/diagnostics/system/systemTime not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:13Errorapiuri /api/diagnostics/system/systemResources not accessible for user hass using api key xxxyyyyzzz
2025-07-26T09:31:11Errorapiuri /api/diagnostics/system/systemInformation not accessible for user hass using api key xxxyyyyzzz
QuoteInterface
Interface IPs used to responding to queries from clients. If an interface has both IPv4 and IPv6 IPs, both are used. Queries to other interface IPs not selected below are discarded. The default behavior is to respond to queries on every available IPv4 and IPv6 address.
Quote from: Monviech (Cedrik) on July 18, 2025, 11:05:58 AMI cannot see a line like this
interface=vlan0.1,vlan0.2
Can you check "Services: Dnsmasq DNS & DHCP: General: Default: Interface" and choose the interfaces there that DHCP should work on?
In your case igb1. That also generates the DHCP firewall rules.
# DO NOT EDIT THIS FILE -- OPNsense auto-generated file
#
rebind-localhost-ok
stop-dns-rebind
# This tells dnsmasq that a domain is local and it may answer queries from /etc/hosts
# or DHCP but should never forward queries on that domain to any upstream servers.
local=/xxxx.yyy/
# host entries flushed via dnsmasq_watcher.py [isc] and a dump of the static reservations
addn-hosts=/var/etc/dnsmasq-hosts
addn-hosts=/var/etc/dnsmasq-leases
dns-forward-max=5000
cache-size=10000
local-ttl=1
conf-dir=/usr/local/etc/dnsmasq.conf.d,*.conf
dhcp-range=tag:igb1,192.168.0.1,192.168.0.99,86400
domain=xxxx.yyy,192.168.0.1,192.168.0.99
dhcp-host=xx:xx:xx:xx:24:21,192.168.0.101,host1
dhcp-host=xx:xx:xx:xx:8e:7f,192.168.0.102,host2
dhcp-host=xx:xx:xx:xx:ba:5e,192.168.0.106,host3
dhcp-host=xx:xx:xx:xx:ca:1c,192.168.0.110,host4
dhcp-host=xx:xx:xx:xx:8a:1e,192.168.0.111,host5
dhcp-host=xx:xx:xx:xx:25:6e,192.168.0.112,host6
dhcp-host=xx:xx:xx:xx:72:df,192.168.0.113,host7
dhcp-host=xx:xx:xx:xx:d9:d4,192.168.0.103,host8
dhcp-host=xx:xx:xx:xx:16:cb,192.168.0.109,host9
dhcp-host=xx:xx:xx:xx:1d:e6,192.168.0.253,accesspoint
dhcp-option=3,192.168.0.254
dhcp-option=6,192.168.0.254
dhcp-option=15,xxxx.yyy
dhcp-option=81
dhcp-option=42,192.168.0.254
dhcp-option=1,255.255.255.0
no-ident
Quote from: Monviech (Cedrik) on July 16, 2025, 05:01:55 PMAs soon as a dhcp-range is defined in dnsmasq, it will try to bind port 67 to either all interfaces, or the interfaces defined with the strict interface setting in advanced mode.
no dhcp will just ignore DHCP packets, but it will not unbind from port 67 as long as there are defined dhcp-ranges.
Quote from: Monviech (Cedrik) on July 16, 2025, 05:01:55 PMAs soon as a dhcp-range is defined in dnsmasq, it will try to bind port 67 to either all interfaces, or the interfaces defined with the strict interface setting in advanced mode.
no dhcp will just ignore DHCP packets, but it will not unbind from port 67 as long as there are defined dhcp-ranges.
Quote from: Bob.Dig on March 10, 2025, 06:21:02 PMMaybe they are guarded by their hosts-firewalls?
Adjust WireGuard Peer Configurations
On each WireGuard client (peer), check the AllowedIPs setting:
Change AllowedIPs = 0.0.0.0/0 (or similar) to include the LAN network:
AllowedIPs = 192.168.0.0/24, 0.0.0.0/0
This ensures that traffic destined for 192.168.0.0/24 is sent through the VPN tunnel.
Restart the WireGuard client after making the changes.