This is straightforward with browser addons like uBlock Origin where you can add and choose blocklists, but I did searches for doing so system wide and using a VPN but didn’t find clear answers. I could use a DNS service that provides blocklists but isn’t it best practice to leave DNS to the VPN provider? I looked up blocklists and VPNs but didn’t find relevant results.

On Android, I didn’t find any apps that let you filter blocklists and using your own VPN other than Rethink, but the blocklists feature requires using Rethink’s DNS.

So what’s the best way to filter ads and trackers on both 3rd party apps and on OS’s like Android (specific Samsung phones) while still using a VPN?

  • girsaysdoom@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    On a rooted phone, you could edit your /etc/hosts file with a list of blocked domains. Outside of that, I’m not aware of any way to have a filtering app and a VPN app at the same time.

    Alternatively, you could try hosting a DNS server that doesn’t resolve the domains you want blocked, like a pihole server. Some VPN apps allow you to use your own DNS and if you’re feeling up for it, there’s apparently even a way to run a local DNS server using dnsmasq on your phone mentioned in this link.