Ad blocking on android - eviltoast

I would like to pirate on my phone sometimes and the ads on websites are problem. I’m not newbie, I know I can install firefox and get the uBlock on it but firefox android is a little bit slow so I prefer to use Opera browser; opera has an ad blocker but it’s a joke compared to uBlock. I’m in a restricted country and my phone is not rooted, so if I use ad block apps like AdAway or Adgaurd they need to create a VPN connection in order to function unless the phone is rooted, and that VPN connection doesn’t let me to enable another VPN in order to visit filtered websites or apps.

I’m not stuck, but felt if I ask here there may be another smart solution for ad blocking on android that can solve these small problems; and the solution would help other people so be kind and provide what you have.

  • Darkassassin07@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Set your pihole device as your DNS on everything ya want.

    I went one further and defined my pihole as the DNS IP that the dhcp server hands out; then set iptables rules on the router to block all external dns access except for the pihole.

    If you’re on my LAN, you must use the LAN DNS server, or you will not get DNS resolved at all. Enforcing ad and telemetry blocking network wide.

    • CmdrShepard@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      How often do you run into issues with certain sites (stuff like banking or Netflix) not liking the blockage? I’m considering doing this bit the WAF needs to be high and not cause her grief or block her from accessing specific stuff.

      • Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I’ve had 0 issues with things I want to access being blocked, but if you do want to access a blocked site you can add it to the whitelist via piholes web interface in about 30 seconds (manually or just finding it in the history and clicking ‘whitelist’) or you can disable blocking entirely for 5sec/30sec/5min/indefinitely with 2 clicks (or a custom time).