Block Specific Countries - Inbound WEB and SMTP

I have a client who has a successful e-commerce site behind a Sonicwall TZ 190 Enhanced Firewall. The web/email server is on the OPT (DMZ) interface.

After a lengthy discussion, the client has indicated they would like to block WEB and SMTP access from certain problematic countries. Bottom line--sales are not coming from these geographic regions... but a lot of SPAM and HACKING IS.

What is the best/easiest way to block ports 80 and 25 for only a specific number of countries?

I looked into blocking IP ranges but the ip-country database, available here: is quite lengthy. There appears to be A LOT of IP ranges to enter into the firewall even to just block a few nations. Any better ideas?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RangerRick1Author Commented:
Looks interesting ... but geared for linux. Can I use GeoIP on Windows IIS6?
ommm i will have to look at google then

have a look at this one

there are too many article for apache. i will past some more article for windows

IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

do you want to consider paid software ?

some thing like this

yap check this one

it might be help full

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RangerRick1Author Commented:
Used GeoSniper - Seems to be a pretty solutions for our needs! Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.