VPN allowing ads through my PiHole setup!

Please follow the below template, it will help us to help you!

Expected Behaviour:

I am using PiHole with blocklists. When I am not using vpn I am not seeing any kind of ads. But once I connect to my express vpn it starts delivering ads,atleast one per website

Actual Behaviour:

I expect no ads even after using vpn that no ads should be seen.

Debug Token:

[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]

Obviously it will show ads since you're bypassing the DNS with the VPN.

add

dhcp-option DNS 10.10.1.2

replace the IP whit your pi-hole IP

If your VPN works the same way as my works one (Pulse) you can't overide the DNS settings (and indeed I need to use our internal DNS to get to many of the tools I use) as it creates a virtual adaptor.

Even more extreme with a second VPN I use (Cisco) where all access to anything other than the remote network is blocked

So I just had this problem today, at least on Android, you can't bypass android dns. So I added push "dhcp-option ipofthepihole" disable advertising the dns on the server side and add filter under DNSfilter for that specific client to use the pihole IP as dns and it works

Where should I add this option?

In your .ovpn client file

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