Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been asked to do this before, but I just don't know an easy way to tell IIS (we're running 7.5) to block all requests coming from a specific country/countries. Does anyone know? I knew of an older ISAPI add-in called GeoSniper, but it dosn't seem to work in IIS 7.5.

share|improve this question
Eric, have you searched the site, this question has been covered many many times before - take a look at this one for instance;… – Chopper3 Feb 14 '11 at 18:47
up vote 0 down vote accepted

Thanks for pointing out this question has been asked before. I was relying too much on the auto-suggestion bit. Following some of those threads, I'm going to go with translating the .htaccess produced by blockacountry.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.