• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero® Blog

NameHero® Blog

Web Hosting Tips & Resources From NameHero

  • Hosting
    • Web Hosting
    • WordPress Hosting
    • WooCommerce Hosting
    • Enterprise Hosting
  • VPS
    • VPS Hosting
    • Flex VPS
  • Reseller
  • Email
  • Gaming
  • Domains
  • Website Builder
  • Account
  • Blog Home
  • Categories
  • Authors

Blocking Countries In QUIC.cloud And Cloudflare

Bhagwad Park

Published on: November 14, 2022

Categories: Website Security 0

Every website owner has to decide on the best way to optimize speed and accessibility. Sometimes those two goals push in opposing directions. Filtering your traffic based on the country is a legit tactic, despite some people trying to shame you into doing otherwise. If you think you can improve your website performance or reduce spam by blocking a country, then, by all means, go for it. Don’t listen to those who try and convert your site into a moral crusade. Your site is a business, and you should treat it as such. Here’s how to block countries in both QUIC.cloud and Cloudflare.

Blocking Countries via IP Ranges Isn’t Easy

The old way of blocking countries was by maintaining country-based IP lists and filtering them on your server. Not only is this unwieldy, it transfers the burden of detecting and blocking the country to your server. This additional load can bring your website to its knees if you’re facing a flood of spam attacks from a certain region.

Fortunately, by using reverse proxies like Cloudflare and QUIC.cloud, you can easily block entire countries without messy IP lists and without burdening your website.

Blocking Countries in QUIC.cloud

QUIC.cloud is a reverse proxy brought to you by the same team behind the LiteSpeed web server. It’s relatively new compared to its more mature cousin – Cloudflare. But it’s a bit more user-friendly and has in-built settings, whereas Cloudflare is more platform agnostic. It’s specially designed to work with WordPress by integrating the LiteSpeed caching plugin.

To block countries using QUIC.cloud, log into the dashboard and under “CDN Config”, click “Traffic” as shown here:

Allow or Block Entire Continents in QUIC.cloud
Allow or Block Entire Continents in QUIC.cloud

This screen lets you set broad options for allowing or blocking entire continents, not just countries. By default, traffic from all continents is allowed. Within each continent, you can click the drop-down box labeled “Exception” and choose individual countries in each continent to either block or allow through like this:

Block Specific Countries in QUIC.cloud
Block Specific Countries in QUIC.cloud

In the above screenshot, I’ve blocked Russia within the continent of Europe (apparently, Russia belongs to both Asia and Europe). You can choose other countries as exceptions in each continent as well. Save your changes, and you’re done. QUIC.cloud will now block or allow countries based on your choices.

I like the interface for country-level access in QUIC.cloud. Here’s how to achieve the same thing in Cloudflare.

How to Block Countries in Cloudflare

To allow or block countries in Cloudflare, log into the dashboard and, under “Security”, click “WAF”. Under “Firewall Rules”, click “Create Firewall Rule” and enter the fields in the next screen as shown here:

Blocking Countries in Cloudflare
Blocking Countries in Cloudflare

Under “Field”, choose “Country,” and under “Operator”, choose “is in”. This will populate a dropdown box for “Value”, and you can choose from the list of countries you want to block. Unlike QUIC.cloud, you don’t need to first choose the continent, though you can also block and allow entire continents. While the QUIC.cloud system is easier to start, I find the Cloudflare methodology more flexible, particularly since the tool is integrated into the general firewall functionality instead of being a separate section.

Save your changes, and you can track the firewall’s effectiveness via the Security Overview dashboard in Cloudflare. You can also choose to have users face a challenge instead of blocking them outright, which is a good compromise between speed and security.

Blocking Countries Has Never Been Easier

I remember a time when it was hard to block entire countries, and there were specialized services that provided IP lists to consult. With reverse-proxies like QUIC.cloud and Cloudflare, you don’t need to worry about this anymore, and you can offload the entire server load to a powerful EDGE network so that your target visitors don’t have to wait for their content to load.!

Bhagwad Park Profile Picture
Bhagwad Park

I’m a NameHero team member, and an expert on WordPress and web hosting. I’ve been in this industry since 2008. I’ve also developed apps on Android and have written extensive tutorials on managing Linux servers. You can contact me on my website WP-Tweaks.com!

Related Posts

What Is a Spoofing Attack? (And Why You Should Know)

If you run a website, you might already be familiar with common threats like ecommerce fraud or brute force attacks. Taking the necessary precautions against them can help you keep your site safe. However, there’s one type of threat that’s more difficult to detect (and prevent) than others – spoofing attacks. Spoofing is when someone […]

DOS vs DDOS: A Complete Guide

Let's break down how DoS and DDoS attacks work and cover the differences between both and how to mitigate them with the right web host.

How to Protect Your WordPress Website from Hackers

Learn how to protect your WordPress website from hackers with real-time malware protection, brute force prevention, and advanced firewalls. Discover how NameHero’s CloudShield can secure your site automatically and keep your business safe.

9 Password Ideas For Data Safety In 2025

Check out our guide for 9 easy ways to create a strong password and secure your digital accounts from cyber attacks.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!


Most Popular Posts

NameHero’s Recommended WordPress Plugin and Theme Setup (2024)

WordPress Hosting vs. Web Hosting – What’s The Difference?

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • WordPress Tutorials
  • Enterprise Hosting
  • WooCommerce
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • Website Performance
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero® proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • VPS Hosting
  • Flex VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • Email Hosting
  • Game Hosting
  • Domains
  • Website Builder
Help & Support
  • NameHero Blog
  • NameHero Gaming Blog
  • Support
  • Help Center
  • Migrations
  • Affiliates
  • Gaming Affiliates
  • Call 1-855-984-6263
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2025 Name Hero, LLC. All rights reserved.
NameHero® is a registered trademark.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA