Search: Advanced search |
Browse by category: |
| How can I block IP addresses? | |||||||||||||
SSH to the server and run The following command to see the IPs with most concurrent connections: /bin/netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n |more Block un-wanted IPs using IPTables /sbin/iptables -I INPUT -s 12.34.56.78 -j DROP |
|||||||||||||
Last update: August, 2008 ••• Copyright (c) 2004-2008 ServerTune Inc.