ABHIONLINUX
Site useful for linux administration and web hosting

2009/09/28

How to block an IP range using firewall

You can block an IP range using the following command.
/sbin/iptables -I INPUT -s 42.0.0.0/8 -j DROP

No comments:

Post a Comment