I have a TP Link C6U v1 router on which I put this OpenWRT. I want to create a firewall rule for kids to filter and block pages for specific words - e.g. sex, youtube
I want to use string.patch for this, so I also installed the iptables-mod-filter package.
Source zone: Lan
Destination zone wan
Action: drop
Source MAC address
Extra arguments: -m string --string youtube
Unfortunately, it doesn't work. No error message. Does anyone have an idea? I don't want to install a more serious program, I want to solve it with string.patch.
Thanks
Excuse me! That's right, I wrote it to the router, but it lags here. It is also included in the PUTTY command - see above. Unfortunately, it does not work in the Firewall
Аs stated above, it can't work that way. If you insist on using thе iptables string module, the best you can do is to filter the DNS requests of the restricted client based on keywords.