1
General Discussion / Re: OPNsense and AdGuard plugin - DNS only works for static DHCP Clients
« on: April 19, 2022, 08:10:16 pm »
Thanks for the reply.
I've played around a bit with that field, even going as far as setting both of those rules to allow any source for both IPv4 and IPv6 (though I'm pretty sure all my machines are running v4). This generated no change in behavior. Those machines that are served up an address from the DHCP pool still cannot connect while those with a static mapping can connect. I've left the rules with * for now.
Looking around some more I did notice a couple of other potential sources of problems. I had not realized that I've added some static mappings in the dynamic pool range. So my client was being assigned an IP address that was mapped to a different device that wasn't connected (one gets a lot of mappings when a mapping needs to be added for every guest's device). I fixed the pool so there is no overlap but that didn't fix anything. Thought it worth mention just in case it's relevant.
I looked at the DHCPD logs and there is an odd error that appears when the device tries to connect.
I wonder if that's the ping the phone makes when it first connects to see if the internet can be reached.
I've played around a bit with that field, even going as far as setting both of those rules to allow any source for both IPv4 and IPv6 (though I'm pretty sure all my machines are running v4). This generated no change in behavior. Those machines that are served up an address from the DHCP pool still cannot connect while those with a static mapping can connect. I've left the rules with * for now.
Looking around some more I did notice a couple of other potential sources of problems. I had not realized that I've added some static mappings in the dynamic pool range. So my client was being assigned an IP address that was mapped to a different device that wasn't connected (one gets a lot of mappings when a mapping needs to be added for every guest's device). I fixed the pool so there is no overlap but that didn't fix anything. Thought it worth mention just in case it's relevant.
I looked at the DHCPD logs and there is an odd error that appears when the device tries to connect.
Code: [Select]
2022-04-19T11:58:33-06:00 Error dhcpd icmp_echorequest 10.10.1.220: Invalid argument
I wonder if that's the ping the phone makes when it first connects to see if the internet can be reached.