Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx, apache2 or another reverse proxy, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
I recently installed Unraid 7.1 on a Ugreen NAS (6800 Pro). I setup the official Pi-hole docker. I assigned the docker a static VPN as part of the docker options. My router is a Deco Mesh and it is set to use the Pi-hole IP as its DNS. All works fine on our local network. I’m now trying to setup the built in Unraid Wireguard VPN as a remote tunneled access connection to access my LAN and home internet connection when connected to my work’s public wifi on my personal laptop. Work PC’s on are their own secure wired or wifi connections which I’m not using. It seems they must block most ports even on the public wifi so I’m using an external port of 443 forwarded to the standard Wireguard 51820 port internally to the NAS IP. I do have a DDNS service as well.
Actual Behaviour:
When Wireguard is set for mi Pi-hole DNS I can connect to my LAN but there is no internet access. If I change DNS to a public one (like Cloudflare 1.1.1.1.1) on the peer config internet works fine. I did try changing the Pi-hole DNS to “permit all origins” but that didn’t help. Also my router does have built in Wireguard which doesn’t allow me to change the port for my work wifi BUT it does otherwise work with the Pi-hole DNS from other networks or mobile hotspot with both LAN and internet access. So I imagine this is some Unraid/Wireguard/Pi-hole config issue. My network and VPN knowledge is limited and I’m new to Unraid, Dockers, and Pi-hole so some of my searching leads to discussions that are over my head. Thanks for any help.