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 *

*

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