The original post: /r/pihole by /u/datawh0rder on 2024-10-29 15:11:17.

…resolve local DNS or IPs in the LAN when it’s connected to via wireguard. I’m currently running pihole + wireguard in docker. Whenever I connect to my home network via vpn with my laptop (through personal hotspot so I know it’s truly through VPN) I can:

  • SSH into my home server via LAN addr
  • SMB into my movie drive on the home server via LAN addr
  • Within the wireguard container, start a shell and successfully ping IPs on the LAN
  • Visit any outside website through Pihole like canyoublockit.com which DOES block ads

I can also visit IP:port addresses or local DNS urls through pihole when on the LAN and NOT connected to wireguard (e.g. portainer.home)

But as soon as I open a browser and try to travel to an IP:port address or allocated .home URL via wireguard the request stalls until it times out. What gives? Has anyone run into this issue before? It’s weird to me that outside URLs work perfectly fine with pihole via wireguard, but local ips/dns doesn’t.