Just a tip, commenting out push "redirect-gateway def1" will route only DNS queries. It'sā useful incase if you have low broadband speed on the server side, however you will loose the full encryption
pfense and capturing packets. I don't know 100% what goes on but blocking that ip range renders everything Google to stop. Including YouTube. They have upped the ante on their ads, they are everywhere and it's driving me nuts.
How is this only implemented in more recent versions of android though?
I have tested on a 4.0 device and pihole functions perfectly.
I'd have thought that anything they put I place for their benefit / gain would manifest in all things Google / android?
It's a real pain
The reason I don't want to be connected to my VPN 100% of he time is it seems to time out. So if my device is asleep, or not in use for a while, the VPN disconnects and when I unlock, I get a heap of notifications, mails etc.
I'm using the OpenVPN app for android.
There will be a way I'm sure of it. It's also rather scary that your phone can just bypass the dns in the network configuration, seems like a big hole that we are trusting everything to Google (phishing,etc).
Well I recently got a new android(older version) and do not have the VPN setup on this one yet. But I noticed pihole was letting Google through at home and that's what brought me here. My computer using ad block with unlock currently is blocking YouTube ads but I believe it blocks the js code from running directly. Everything else in my house through phone is getting YouTube ads.
My newer android device (Galaxy S6 running android 6.0.1) is the only device in my network that allows adverts through.
So I figured it was an android thing, but was hoping there was a proper fix.
Use of a VPN is a workaround in my opinion.
And given the issues I have with VPN timing out and effectively putting me in an "offline" state it's not really viable for me.