OPNsense Forum

English Forums => General Discussion => Topic started by: flushell on January 06, 2021, 10:56:55 am

Title: Rule in FW matched (in log), but why?
Post by: flushell on January 06, 2021, 10:56:55 am
I have a LAN, 2 (child) VLANS and OpenVPN.
My DNS Server (10.0.4.2) is on VLAN called VL_Serv (it's Pihole).
I wanted to ensure all DNS on my network goes to the DNS server so I made a rule for that (see attachmant).

The rules does what I want, if I try to do a DNS request to 1.1.1.1, I see it logged in my DNS server (do it is redirected)
However, when I set logging Enabled on the rule and check the log, I see that this rule is always logged, even when I do a DNS request to 10.0.4.2. In my understanding, when I do a DNS request to 10.0.4.2 it shouldn't be logged, because it doesn't match the rule I made. Why is it matched/logged? It's probably something I don't understand...

Title: Re: Rule in FW matched (in log), but why?
Post by: allebone on January 06, 2021, 11:06:34 pm
Check under rules-Lan that there are not rules with loggin on in there.