1
General Discussion / Wireguard and PiHole
« on: July 08, 2023, 05:30:22 pm »
My goal is to connect to my home network remotely so I can use my PiHole when accessing from somewhere else. I followed this guide https://homenetworkguy.com/how-to/configure-wireguard-opnsense/ and can connect to the WireGuard server and access the internet but it doesn't seem that it's using my PiHole as the DNS.
In System: Settings: General, I have the DNS Server set to my PiHole internal IP.
In Services: DHCPv4: [LAN], I have the DNS Servers set also to my PiHole internal IP.
Do I need to have a firewall rule to point VPN requests to my PiHole for DNS? Another puzzling question is which DNS server could the Wireguard server be using if not the PiHole?
In System: Settings: General, I have the DNS Server set to my PiHole internal IP.
In Services: DHCPv4: [LAN], I have the DNS Servers set also to my PiHole internal IP.
Do I need to have a firewall rule to point VPN requests to my PiHole for DNS? Another puzzling question is which DNS server could the Wireguard server be using if not the PiHole?

