I've managed to use below command to block ip address:
/sbin/route add -host 184.108.40.206 reject
How do I view if this is in the list? How do I view all IP's that are currently blocked?
migrated from stackoverflow.com Mar 1 '12 at 1:55
This question came from our site for professional and enthusiast programmers.
will display the current rules. You should see something like this:
This isn't too viewer friendly, but the Destination is the IP without any .'s in it. 11 became 011 because it uses 3 places for each octet.