ABHIONLINUX
Site useful for linux administration and web hosting
2009/08/20
How to block an IP using IPTABLES
To block a range of IPs :
iptables -A INPUT -p tcp --destination-port 80 -m iprange --src-range 192.168.0.0-192.168.0.255 -j DROP
1 comment:
Abhi's MAZHAVILLU
January 22, 2011 at 3:26 AM
iptables -A INPUT -s IP-ADDRESS -j DROP
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
iptables -A INPUT -s IP-ADDRESS -j DROP
ReplyDelete