Friday, June 29, 2018

privacy - How to use Adblock AND a VPN


I'm using Private Internet Access's VPN via its App and now I'd also like to additionally use Adblock Plus.
The problem however is that I apparently can only use either VPN or Adblock Plus - but not both in combination.
Is it possible to use both by changing some setting in either of the Apps or of my phone ?


It says it couldn't change the proxy settings of my phone so I should do it manually. But as all traffic is routed through the VPN changing the proxy-name to "localhost" and the proxy-port to "2020" didn't help. It keeps on waiting for traffic on Port 2020. I guess it comes down to routing the VPN traffic through the proxy. But maybe there's also another solution to it (like another Adblock App that works differently for example).




My phone:
Samsung Galaxy Ace 2, I8160
Firmware 4.1.2

Rooted


The Error Message (roughly translated):
"Seemingly no traffic was routed through adblock plus. Adblock Plus couldn't change the proxy settings of your device. Please configure them manually."



Answer



There are good reasons why you cannot use such a combination:



  • routing your VPN traffic via another proxy might compromise it, thus rendering your VPN useless

  • doing it the other way around won't work, as the Adblock proxy then would need to be behind the VPN one – which you cannot establish on your device


So what you need is, as you correctly pointed out, an ad-blocker working by different means. Examples include (without giving any recommendation here, just listing possibilities):




  • something working via the hosts file (i.e. routing all ad-requests "to /dev/null" (or rather to 127.0.0.1, which is your device itself, which doesn't have them → nothing returned to display)

  • something "nulling" the ad modules themselves (i.e. "disabling" them)


None of those are "to be found" at Google Play for obvious reasons (though there might be some which Google either didn't recognize yet, or which have the corresponding activity hidden from the UI itself by hiding it, or which are simply ignored as "not fit for international use").


I could name some of the latter two categories, e.g. LBE Security Master (which is only available in a Chinese version on Play (see XDA for a localized English version)). There are also several apps working with the hosts solution, which you can find on e.g. F-Droid or Aptoide (see my app-list on Ad-Blockers for examples).


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...