Is it likely to be an IPv6 leak?<p>I setup the VPN server using PiVPN (Wireguard VPN)<p>For example, when I do a Google search, my location is correct at the bottom of the page.
As others have mentioned, it's probably correlating both your mobile and desktop, since there's certainly shared accounts being accessed on both.
> For example, when I do a Google search, my location is correct at the bottom of the page.<p>I saw the same behavior. Loading google in incognito mode solves this for me. I know I've granted google access to my browser's location services, perhaps you have too. Loading in incognito mode resets this.
If you are logged into your Google account on both the VPN-connected device and a phone with location settings turned on, Google will use the location feature of your phone to locate your usage on the VPN connected device as well.
Are you logged in with Chrome? Are you running other Google products on your computer or behind the same router (e.g. an Android phone) that are logged in and have you added a payment method in Google with an address anywhere? Got any Google home assistant products around?<p>Otherwise they are probably using browser fingerprinting and cross referencing.
It would be easier to offer some better answers if you edit your post and state what device, OS and browser you’re using for the search.<p>Also, are you logged in to Google or Gmail or any other Google services (even if that window has been closed)? In other words, are the cookies cleared in your browser?<p>What’s your DNS setting on the device and/or browser?
I had a similar problem with an Android phone and VPN, and tracked it down to my DHCP server only serving primary DNS IP and no secondary. In this circumstance it seems Google automatically adds its own DNS resolver as secondary, which was causing DNS leaks.<p>Try tunning tcpdump on your gateway looking at DNS and mDNS requests.
It could be the X-Client-Data header. If you are using Chrome, try incognito mode.<p><a href="https://9to5google.com/2020/02/06/google-chrome-x-client-data-tracking/" rel="nofollow">https://9to5google.com/2020/02/06/google-chrome-x-client-dat...</a>
I would also consider that the problem is the client you are using to connect with the VPN. Sometimes the VPN provider's client are just borky and Google is the first to figure out the issue. I just recently encountered this.<p>P.S. 95% of search attempts can be adequately satisfied with DGG. I'd suggest you isolate G products to a specific browser, this way you isolate what data you actually provide G with.
Possibly a dumb one but do you allow your browser to share your location? On mobile if you have location sharing enabled, most devices will allow the browser to get coarse GPS location
I like to check what data my web browser shows using.... <a href="https://www.ipleak.net" rel="nofollow">https://www.ipleak.net</a>