Ad Blocking after Update to RUTX_R_00.07.06

Hi Community,

I’m currently a bit lost how to implement a good way of add blocking with the teltonika routers. I’m aware of the webfilter functions, but this function is limited to 1000 entries. The problem is that ad block list are usually around 200000 entries big. So this is not the solution. Also I was finding out the teltonika fixed one issue with opkg by providing there own package repositories only now. But this makes it also quite hard to use things that are documented here:
[OpenWrt Wiki] Ad blocking

So does anybody has a good solution of blocking many hostnames over DNS from the network?

P.S.: I didn’t tried yet the Proxy Based Content blocker, because proxies bring their own problems with them. So I would like to use the webfiltering for it.


I have used AdguardHome on a RUTX11 before, it has enough memory to handle both the Adguard DNS and Adaway default block lists.

If you install it, be sure to put the stats.db and sessions.db in /tmp else the flash will take a hit.


@flebourse So you added the package repository for it manually after the upgrade to 7.06?

Because if so I would be interested in your opkg configure.

To install:

opkg update
opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install adguardhome

Edit /etc/init.d/adguardhome, add:

/bin/mkdir -p /tmp/var/adguardhome/data /opt/var/adguardhome/data/filters >/dev/null 2>&1
/bin/ln -sf /opt/var/adguardhome/data/filters /tmp/var/adguardhome/data >/dev/null 2>&1

just before the “procd_open_instance” line.
This will ensure that the truly temporary files stay in /tmp and the filter files are stored in flash memory.

1 Like

Currently I don’t has access to my router, but if I remember correctly the file /etc/opkg/openwrt/distfeeds.conf doesn’t exist anymore.

But I will say it more precisely in an hour or two.

Hmm no, /etc/opkg/distfeeds.conf has been moved to /etc/opkg/openwrt.
Why is another question.

Nice it worked. and that kind without any issue. Nice

This topic was automatically closed after 15 days. New replies are no longer allowed.