Getting originating IP from VPN in Query Logs

The issue I am facing:
I am using PiVPN on a Raspberry Pi to connect back to my home LAN (example IP 192.168.1.5) - I'm using the Wireguard implementation and this all works perfectly. I can now route DNS back through my Pihole's when I'm out and about. Awesome!

However, I am then seeing the PiVPN's IP as the client IP for all DNS queries in the Pihole Query Log for any DNS query performed outside the LAN (on VPN). Is there any way that the IP from Wireguard (example IP 10.4.0.2) can appear in the Pihole Query Logs?

I have seen a very similar set up, which is working fine (and as stated above) - but neither of us could work out why it wasn't working in my set up.

I've looked high and low for a solution to this, but it's defeated me so far. I am sure there must be an obvious answer - or someone who's achieved this before.

Details about my system:

  • Pi-hole v5.8.1
  • FTL v5.13
  • Web Interface v5.10.1

What I have changed since installing Pi-hole:
Nothing particular that I can think of other than maintenance (updates).

Hopefully I've provided enough information, but happy to expand on anything on request.

Thanks for your input all, really appreciate it! :smiley:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.