DD-WRT Block ip, subnet

iptables -I FORWARD -d 58.108.0.0/16 -j DROP

Blocks all ip: 58.108.*.*

Despite many commands suggested to block ip, the above appears to work best. FORWARD, not INPUT.

Unless, of course, I was misled by coincidence where just after executing the command, the 58.108.*.* flooder/hacker decided to stop at the moment.

 

This entry was posted in Technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.

This site uses Akismet to reduce spam. Learn how your comment data is processed.