Back to articles

How to block certain countries using the Firewall application?

Have you noticed a suspicious spike in traffic from a particular region of the world? Is your site accessible in countries that are not targeted by your business? With the Fasterize Firewall application, you can block access to your site based on the country of origin of visitors, in just a few clicks. Let's take a look at how to set up targeted geographic blocking via the interface.

Introduction

Have you noticed a suspicious spike in traffic from a particular region of the world?

Is your website accessible in countries not targeted by your business?

With Fasterize's Firewall application, you can block access to your site based on the country of origin of visitors, in just a few clicks.

Let's take a look at how to set up targeted geographic blocking via the interface.

Why block access to certain countries?

Filtering by country allows you to:

💡 Example: Are you receiving massive requests from a country outside your market area? Block it to preserve your resources.

How does country filtering work in Fasterize?

💡 No development required: everything is done from the interface.

Block one or more countries via the interface

Here are the steps to create a country-based blocking rule:

Steps:

  1. Open the Firewall application
  2. Go to the Countries tab
  3. Click New Access Rule
  4. Give it a descriptive name (e.g., "Block Russia + China").
  5. Select the countries to block from the list
  6. Enable the rule
  7. Click Save

💡 Tip: You can select multiple countries to block an entire region (e.g., Eastern Europe, Southeast Asia, etc.).

Best practices and precautions

⚠️ Warning: some cloud services (CDN, proxy, API) may have IP addresses located in unexpected countries.

Conclusion

Country blocking is a powerful and easy-to-use feature in Fasterize.

It allows you to restrict access to your site on a geographic basis, whether for security, compliance, or performance reasons.

⚠️ Don't forget to save your rule once you've created it so that it becomes active.