bayern1975
Very Senior Member
i think it work if i insert just single IP like this:This in jffs/scripts/firewall-start and chmod a+rx /jffs/scripts/firewall-start
And like any Linux script, they need to start with a shebang: #!/bin/sh
Then you need this rule:
INPUT rule is to router itself. You maby need to use FORWARD rule.
Use that rule suite your setup.
31.223.208.0/20 fits ALL this ip-numbers.
Start IP: 31.223.208.0
End IP: 31.223.223.255
iptables -I FORWARD -s 31.223.212.19 -p tcp --dport 16740 -j DROP
iptables -I INPUT -s 31.223.212.19 -p tcp --dport 16740 -j DROP
with this 31.223.208.0/20 not working......i do not know why?