![]() |
ban an entire ip range from acessing my server..
I want to bann all netseer.com crawlers IP's from spidering my website, from linux firewall (iptables)..
There are over 500 different IP's from where they are access my server.. few IP's are: 67.202.22.253 67.202.23.133 67.202.24.156 67.202.24.170 how can i ban this entire IP range? and what is the range that should be banned? it is 67.202.0.0-67.202.255.255 or ..? |
iptables -A INPUT -s 67.202.22.0/24 -j DROP
iptables -A INPUT -s 67.202.23.0/24 -j DROP iptables -A INPUT -s 67.202.23.0/24 -j DROP |
Quote:
|
Quote:
/32 is 1 ip address it's a bitmask number 4 octets (4 x 8 = 32):thumbsup |
All times are GMT -7. The time now is 03:40 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123