Unable to make adblock working

In my lan I have a (main) modem/router 192.168.0.1/24 and an openwrt router 192.168.0.2/24.
On this router I have installed and configured adblock but it doesn't work and I'm unable to understand what's wrong.
The main router is the gateway and the openwrt router acts also a dhcp server. Details of lan interface:


Details of adblock:

When I visit https://www.detectadblock.com, it says that I allow ads.

1 Like

I see nothing wrong. If it persists you may wish to ask @dibdot or visit:

Check what settings are the clients receiving on DHCP.
Use tcpdump to check which DNS they are using.

2 Likes
uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq

dhcp.@dnsmasq[0].domainneeded='1'

dhcp.@dnsmasq[0].boguspriv='1'

dhcp.@dnsmasq[0].filterwin2k='0'

dhcp.@dnsmasq[0].localise_queries='1'

dhcp.@dnsmasq[0].rebind_protection='1'

dhcp.@dnsmasq[0].rebind_localhost='1'

dhcp.@dnsmasq[0].local='/lan/'

dhcp.@dnsmasq[0].domain='lan'

dhcp.@dnsmasq[0].expandhosts='1'

dhcp.@dnsmasq[0].nonegcache='0'

dhcp.@dnsmasq[0].authoritative='1'

dhcp.@dnsmasq[0].readethers='1'

dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'

dhcp.@dnsmasq[0].localservice='1'

dhcp.@dnsmasq[0].serversfile='/tmp/adb_list.overall'

dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'

dhcp.lan=dhcp

dhcp.lan.interface='lan'

dhcp.lan.start='100'

dhcp.lan.limit='150'

dhcp.lan.leasetime='12h'

dhcp.lan.force='1'

dhcp.lan.dhcpv6='server'

dhcp.lan.ra='server'

dhcp.wan=dhcp

dhcp.wan.interface='wan'

dhcp.wan.ignore='1'

dhcp.odhcpd=odhcpd

dhcp.odhcpd.maindhcp='0'

dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'

dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'

dhcp.localhost=domain

dhcp.localhost.name='console.gl-inet.com'

dhcp.localhost.ip='192.168.8.1'
  • @TabiZz, are you the original poster?
  • If so, what is dhcp.localhost.ip='192.168.8.1' - and all of the sections with dhcp.localhost?
  • If not, please make a new thread for your issue.
1 Like

Could you find a solution i am having the same issue ?

In the other thread you posted to, it was advised you ask in the dedicated support thread.

See: Adblock support thread

Be prepared to provide more details
than merely "I am having the same issue."

2 Likes