Issue with Pi-hole, Unbound, and VPN: Ad-blocking not working with certain client settings

I've set up List item a server using Pi-hole and Unbound for ad-blocking, combined with a VPN server (all running on AWS in Japan). I'm experiencing some unusual behavior with different client configurations:

  1. When "Allowed IPs" is set to "10.218.170.1/32" on the client:
  • VPN works
  • Region shows as Canada (despite the server being in Japan)
  • Ad-blocking seems to function correctly
  1. When "Allowed IPs" is changed to "0.0.0.0/0" on the client:
  • VPN works
  • Region correctly shows as Japan
  • Ad-blocking stops working

I'm confused about why changing the "Allowed IPs" setting affects both the perceived region and the ad-blocking functionality.

Questions:

  1. Why does the region appear as Canada with the more restrictive IP setting?
  2. Why does ad-blocking stop working when I use "0.0.0.0/0" as the Allowed IPs?
  3. How can I configure the client to use the correct region (Japan) while ensuring that ad-blocking remains functional?

Any insights or suggestions on how to troubleshoot this issue would be greatly appreciated. Thank you!

This is related to the VPN software you are using, rather than Pi-hole.

You should consult forums specialising in your chosen VPN software.

Sorry, I will ask the VPN forum.

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