I need to add my Hosts to the router. [I was interested in the project on Github StevenBlack Hosts]
Just to protect inappropriate information, there is a blocking of Porn, and social networks.
How can I add my Hosts in OpenWRT?
I read the OpenWRT Wiki, looked at the guides on Google, but did not understand how to do it.
For my own list, I mean Unified hosts + fakenews + gambling + porn by Steven Black.
In the [Blacklist Sources] section, there is exactly the [StevenBlack List Selection] I need, where I can select [Unified hosts + fakenews + gambling + porn] I use this, but I can still go to porn sites.
I don't understand why List selection doesn't work for me
I'm testing through a client, more precisely, through a smartphone connected via openwrt, I visit porn sites.
My task is to make Wi-Fi completely prohibit access to porn sites, and the best choice for me turned out to be [Unified hosts + fakenews + gambling + porn]
I'm sorry if I misunderstood you, because I communicate through Google translator
are you sure the client is using the router's DNS server? adblock by default adds rules to router's dns server and if a client is using a different one obviously adblock will not filter out anything.
you can enable Force Local DNS option which will redirect any DNS query attempt to alternative DNS servers to router.
please note: this redirection may not work if client has hardcoded dns (many mobile device and or application using vendor's dns server, e.g. directly going to google), or if client using for example secure dns (e.g. DNS over HTTPS) like Firefox, Chrome by default using cloudflare.com for DNS resolution independently from your general LAN configuration.
Added StevenBlack to the list, turned off the yo-yo. It didn't work at first, then it seemed to work.
By the way, Trigger interface can choose LAN? The default is WAN.
I'm stupid. Now I connected my WireGuard configured through VPS, and all sites began to open.
It is necessary to briefly configure Steven Black on the VPS itself, and then connect WireGuard to OpenWRT itself
I also want to set up pi-hole on VPS and make it work on WireGuard
I also want to set up ipv6, since my provider only supports ipv4.