hi i am running a proxy site and i noticed that ONLY one ip address is using 100's MB of bandwidth per day.. therefore i have decided to block that ip address.. please tell me how to do it.. here is my configuration: 1. cheap vps (unmanaged) 2. only WEBMIN and RAVENHOST included... i think i would have to do that by webmin only.. please tell me how to achieve that? thanks
Maybe its not using only HTTP traffic, I would say block the IP for the whole server, if you are not familiar with iptables you can install APF which is pretty easy to use, check this site: eth0.us and search for APF
Install IP tables firewall APF or use csf and lfd: http://configserver.net - helps you block IP addresses easily. In iptables deny from ip xxx.xxx.xxx.xxx
Though using iptables is recommended, they can get a little confusing. You can also use the route program which is a bit more straight forward. /sbin/route add -host xxx.xxx.xxx.xxx reject Code (markup): Note that I'm assuming the bin path is in /sbin, fix accordingly if it's not.
IPtables can be sonfusing but its built in feature in Linux, so probably recommended to use. No matter how complicated it be. You can see cPanel FAQs as they have some good info written on IPtables.