Log in

View Full Version : How do I block a certain country?


K4GAP
03-01-2009, 06:35 PM
I have been swamped the last few days with new registrations from russia. Most all of them are spamming my site. How can I go about blocking ip's from russia from registering? Or maybe even block them all from even being able to see my site?

And NO I don't want to order no dang viagra :)
Those russians must be stocked up.

kevcj
03-02-2009, 03:55 PM
I have been swamped the last few days with new registrations from russia. Most all of them are spamming my site. How can I go about blocking ip's from russia from registering? Or maybe even block them all from even being able to see my site?

And NO I don't want to order no dang viagra :)
Those russians must be stocked up.

Blocking IPs and networks is not an effective solution. There are other options that you might want to consider.

Look through this thread at vbulletin.com about how to stop spam (http://www.vbulletin.com/forum/showthread.php?t=275800) and then go from there.

Videx
03-03-2009, 11:52 PM
You can try the timezone mod (https://vborg.vbsupport.ru/showthread.php?t=141554).

Budweiser
06-25-2009, 03:38 AM
Blocking IPs and networks is not an effective solution.
Why not?

You can get a list of IP's by country from this database....
http://ip.ludost.net/


..

James Birkett
06-25-2009, 01:56 PM
Just add IP addresses from each country from the URL above and put them into the vBulletin IP ban filter, or you could put them in a .htaccess and just restrict them from register.php just in case some of the IPs are not Russian :rolleyes:

UKBusinessLive
06-25-2009, 02:16 PM
I have been swamped the last few days with new registrations from russia. Most all of them are spamming my site. How can I go about blocking ip's from russia from registering? Or maybe even block them all from even being able to see my site?

And NO I don't want to order no dang viagra :)
Those russians must be stocked up.

Gary, Just add this to your .htaccess file, I've added all the russian ip's

just unzip the zip file and copy to your .htaccess file :up:

K4GAP
07-30-2009, 04:29 AM
Where do I find the .htaccess file?

nofat.co.nz
07-30-2009, 06:17 AM
Hey Gary - you'll find the .htaccess file in your file manager (in your cpanel or whatever) - make sure you check the box for show hiden files when you go in there - then you should see it ;)

K4GAP
07-30-2009, 03:40 PM
Thanks guys. Maybe now I can open registration without worrying about the ruscies

hipgirl
01-18-2010, 02:07 AM
Hi,

For same reason, I banned all IPs from Taiwan, now one of the US members moved to Taiwan and asked us to lift the ban. I tried to add a "allow IP address" line in htaccess file but doesn't work. And other way to lift ban for this IP address?

Thanks in advance.

Michelle