Answer the question
In order to leave comments, you need to log in
How to set up a gateway on PFSense / OPNSense with redirection to the specified DNS server for computers inside the LAN network?
There are two separate local networks, inside of which there are gateways on the above PFSense and OPNSense distributions, each inside its own network IP = 192.168.0.1 for LAN and 192.168.1.2 for WAN machine, IP = 192.168.1.1 for both). Also in local networks there are several computers with static addresses 192.168.0.2/3/4, etc. In their settings, they all have 192.168.0.1 as a gateway and as a DNS server. The task is - WITHOUT CHANGING these settings in the configuration of the gateways, configure DNS so that, in fact, even though the computers consider the gateways as DNS servers, but in fact the DNS servers turn out to be Yandex.DNS records 77.88.8.7 and / or 77.88.8.3. Question - how to do it? On OPNSense, I dug into the settings, found along the path "System -> Settings -> General Settings" DNS settings, indicated them as I suppose, even the gateway used was changed (which is in the first screenshot in the last column), but no, the settings are not accepted (I check by entering a porn site, which is definitely blocked when Yandex.DNS is directly written in the network adapter settings computer). I think I'm doing something wrong...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question