This rule will utilize the gateway group for all traffic coming from our LAN network. This also means that traffic intended for the firewall itself will be routed in this (wrong) direction. That is why Step 5 is needed for our DNS traffic going to and coming from our DNS forwarder on the firewall itself.
C:\>nslookupDefault Server: UnKnownAddress: 10.0.10.22> server 10.0.10.1Default Server: [10.0.10.1]Address: 10.0.10.1> google.comServer: [10.0.10.1]Address: 10.0.10.1Non-authoritative answer:Name: google.comAddresses: 2a00:1450:400e:809::200e 216.58.211.110> server 10.0.10.18Default Server: [10.0.10.18]Address: 10.0.10.18> google.comServer: [10.0.10.18]Address: 10.0.10.18DNS request timed out. timeout was 2 seconds.DNS request timed out. timeout was 2 seconds.DNS request timed out. timeout was 2 seconds.DNS request timed out. timeout was 2 seconds.*** Request to [10.0.10.18] timed-out---> Adding a rule to allow DNS traffic on OPNsense <---> google.comServer: [10.0.10.18]Address: 10.0.10.18Non-authoritative answer:Name: google.comAddresses: 2a00:1450:400e:80d::200e 172.217.168.238>