I’ve tried pasting some DD-WRT firewall rules (below) in OpenWRT but it doesn’t seem to work.
Does anyone know if there is something slightly different with the code on OpenWRT?
iptables -I FORWARD -d 220.127.116.11/255.255.240.0 -j REJECT
iptables -I FORWARD -d 18.104.22.168/255.255.224.0 -j REJECT
iptables -I FORWARD -d 22.214.171.124/255.255.240.0 -j REJECT
why it doesn’t work? iptables should be the same.
You tried to block several IP address right?
I am not good at this but maybe you can just use firewall settings.
Block access to a specific host
The following rule blocks all connection attempts to the specified host address.
option src lan
option dest wan
option dest_ip 126.96.36.199
option target REJECT