Quote:
Originally Posted by miakeru
Attached you'll find a list of IP netblocks for each country that I'd recommend blocking. You can just copy and paste their contents into the .htaccess file. The China.txt file also contains some Taiwanese netblocks.
I really hope you can make use of them because it took me at least an hour to make each one. Seriously.
Otherwise you can take the easy route and block most by doing something like:
Code:
deny from .ru
deny from .cn
deny from .tw
deny from .in
Was there some reason that you didn't want to go that route?
Oh, and I've also uploaded the IP block files to my website in case I ever remove the attachments. You may find them here:
http://www.thewired.tk/misc/russia.txt
http://www.thewired.tk/misc/china.txt
http://www.thewired.tk/misc/india.txt
|
Hey thanks again.
Now if there's a simple way to kick everyone out except from US, that would be great!
As to why I didn't think of "deny from .cn" etc. Cause I didn't think of it. But wouldn't that stop for example blahblah.cnet.com? or blah.cnn.com?