Txmmy83 Posted February 2, 2011 Report Posted February 2, 2011 my question is is there a option to Ban IPs since I have Spam registering? thanks in advance Tom Quote
Moderators mark1million Posted February 2, 2011 Moderators Report Posted February 2, 2011 Not with in phpvms script but you can use your server to ban these, are you in linux or windows? Also what kind of access do you have to your server. If you using a Linux distro you can use, Permanently Ban IP Addresses, iptables -A INPUT -s IPADDRESSOFBAN -j DROP iptables-save > firewall.log and iptables-restore < firewall.log If you using Windows go in to iis and then security from there you can add ipaddresses to ban. Quote
Txmmy83 Posted February 2, 2011 Author Report Posted February 2, 2011 my host is using a unix/linux based system Best Regards Tom Quote
Moderators mark1million Posted February 2, 2011 Moderators Report Posted February 2, 2011 If you have root access just do, iptables -A INPUT -s ipaddress -j DROP replace the ipaddress with the up you want to ban. Basically that will use the iptables in linux to drop a connection that has an ipaddress you specify. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.