Hi, I have a Pi-Hole server up and running on a linux machine.
I have 2 LAN Subnets on 2 ports which are -
ether1=10.10.10.1/24 and ether2=10.10.9.1/24
Both of the subnet is assigned for an individual DHCP server which gateways are 10.10.10.1 and 10.10.9.1
Pi-Hole Server is sitting under ether1 Interface, which IP is 10.10.10.5. I have configured this IP as my DNS server accross all of my devices using DHCP Server
For better understanding, here's my network diagram
my NAT Rules are -
add action=masquerade chain=srcnat src-address=10.10.10.0/24
add action=masquerade chain=srcnat src-address=10.10.9.0/24
I checked the DNS logs, every requests are coming from 10.10.10.1 and 10.10.9.1.
I can't understand what's wrong with my configuration. I need requests from the Device IP's not from their Gateway IP's