[Solved] PBR and Wireguard -- DNS Leak

make it .225/32

make it .1.0/24
Other than that and judging from the dhcp configuration, you advertise to all the lan hosts the OpenWrt as nameserver, which in turn uses either the WG nameserver or the one from wan, in a random manner. To tell this lan host to use a specific nameserver, use the mac classifier and advertise the WG nameserver. At the same time, remove the nameserver from the WG interface to refrain from using it for the other hosts.

1 Like