pfSense, Adguard and haproxy configuration problem
-
Hello, I have a pfsense with adguard home and haproxy, i'm trying to do a DNS split with a virtual IP, and I configured the haproxy to listen into that V-IP, the LAN devices are facing to the adguard home IP and are resolving ok. The adguard home is installed with a FreeBSD package on the pfsense host. And the IP is equal to the pfsense IP, Pfsense DNS is listening to another port so Adguard can listen to port 53. I've tried to direct the traffic from the wan to the haproxy in two ways that I've seen on posts here, one way is with a NAT port forwarding from the WAN adress to the V-IP filtering by ports 443 and 80, and the other way is to DNS overwriting the FQDN with the V-IP. Any of this two configurations is leaving me acces to the LAN servers listed as backend on the haproxy by the WAN side. But from the LAN side as I mentioned it's all working fine. I don't have Adguard home DNS overwritings. I don't thing that the error is on the haproxy backend or frontend because is the part about I found most information. If you request it to me I share with you the pfsense configs that you specify to me.
First of all, sorry if I writted something wrongly I'm from Spain and my English is not as fine as I want.
Thanks before hand for you help.