Use Case: Block visitors based on their country with ochSimpleFirewall

Every visitor on your website adds load on the server that is hosting your website. Load to generate and display the visited page. Load times are important so sometimes it makes sense to block visitors that will likely never do any conversion via your website. Or you want to block a complete country from visiting your website because the visitors add no value other then a high risk of hack attempts and spam in your forum or mailbox.

This ad is inserted via ochCall2Action and displayed via ochAddAds
Looks like Google ran out of ads to serve... or do you have an ad blocker activated?

Some site owners are using Akeeba Admin Tools to block visitors based on their country of origin. Akeeba is using (read: per january 2020 was using) MaxMind's GeoLite2 Country Database for this purpose, but due to a MaxMind change in policy and license, Akeeba will stop using All Geographic IP (GeoIP) features in all of their extensions.

Challenge: How do I block all visitor from a specific country?

With MaxMind closing their service to licensed customers, how can you easily block specific countries from accessing your website?

Solution: New ochSimpleFirewall GeoIP NetSets

Starting with version 1.4.0 ochSimpleFirewall has build in support for blocking visitors from a specific country. It does that by downloading a maintained GeoIP Database from https://software77.net/geo-ip/ and convert that database into blocklists per country. Currently 240(!) countries are in the converted list and as a result, ochSimpleFirewall can block visitors from any of these countries based on your configuration.

There are no remote lookups to determine the visitor's country of origin, instead the blocklists (the IP address ranges for the countries) are downloaded locally and there for there is no delay in determining where the visitor originates from. Tath make ochSimpleFirewall a valuable replacement or alternative for Akeeba Admin Tools (for blocking specific countries)!

Result: Less load and (probably) less abuse attempts / spam

Not only you, but also your converting visitors will directly benefit from blocking specific countries from putting load on your server.

This ad is inserted via ochCall2Action and displayed via ochAddAds
Looks like Google ran out of ads to serve... or do you have an ad blocker activated?

Image by vishnu vijayan from Pixabay


Interesting blog? Like it on Facebook, Tweet it or share this article on other bookmarking websites.

Written by
Pro-Blogger Top Blogger Thought Leader

With a solid background in ICT (operational, tactical and strategic) and years of experience in the community life, I see in communities and community thinking the future for companies.

This future requires another way of thinking and doing; both for executives and employees. It's not about me; it's about you. Your well-being and your (personal) growth.

'What comes around - goes around'

In the world of communities, the old 'management laws' no longer work and are even counterproductive.

I coach leaders and organizations in their quest for how new and servant leadership can contribute to communities and community thinking, and as a result to the growth of the organization.

I do this from the following initiatives:

 


Discuss this article

INFO: You are posting the message as a 'Guest'

Log In or Sign Up

Forgot your password? / Forgot your username?