A panel lets you name countries that cannot order: all services at once or only some of them. A mistake here is expensive: close too much and you lose your own customers who sit behind a VPN or order through a server in another country. This is not an article about protecting the site from attacks - there is a separate guide to panel security for that. This one is about something else: what exactly country blocking closes, how the panel learns the country, when the restriction helps and where it does more harm than good.
What country blocking actually closes
The restriction works on two levels.
- The panel-wide list. In the services section, on the "Hidden" screen, there is a "Blocked countries" block. A visitor from a country on this list sees no services at all: the catalog is empty, there is nothing to pick in the order form, and mass order cannot find any service numbers.
- The list of a single service. The service form has a "Blocked countries" field. An empty field means the service is available everywhere. Only this service disappears for the selected countries, the rest of the catalog stays visible.
The key point: this blocks sales, not the site. A visitor from a closed country opens the panel, signs up, logs in and sees their balance. They just cannot place an order.
The ban is checked twice: when the catalog is built and on the server at the moment of ordering. The second check is essential, otherwise a service hidden from the storefront could be ordered with a direct request. If an order does arrive - through the form, a link to the service or the customer API - the panel rejects it with the message "This service is not available for ordering in your country." A subscription to new posts cannot be created from a closed country either. Orders already accepted are not affected: the check fires only on a new order.
How the panel learns the country
The country is taken from the IP address of the request, using two sources.
- The Cloudflare header. If the request came through Cloudflare, it passes the visitor's country itself. The panel trusts this header only when the request came through a trusted proxy, otherwise anyone could set any country they like.
- An address database. If there is no header, the country is looked up in a database that maps IP addresses to countries and is updated once a month.
If neither source gives a country, services are shown. This is deliberate: blocking out of ignorance would mean losing orders from everyone whose address was not recognised. The flip side is that the restriction is not absolute.
Three things follow from this, and they matter more than the setting itself.
- A VPN changes the country both ways. A person from a closed country using a VPN elsewhere sees the full catalog. Your regular customer whose VPN exits through a closed country sees an empty storefront.
- For the API, the country is the server's country. A reseller who connected your panel to theirs sends orders from their own server. What counts is where that server stands, not where their customers live.
- There are no exceptions for individual customers. Even a customer who was given personal access to a hidden service will not see it from a blocked country. Geo restriction has no allow list.
Why close countries at all
In practice there are few reasons, and almost all of them are about what you sell and to whom, not about protecting the site.
- The service makes no sense for a country. For example, traffic or an audience from a specific region: a customer from the other side of the world has no use for it, yet the complaint will come after delivery. Such services are easier to close one by one, in the service form.
- A provider or partner does not work with some countries. If the provider of a service or your payment partner excludes certain countries, it is simpler not to sell there than to sort out rejections and refunds later.
- A wave of bad orders from one direction. If orders from one country keep ending in disputed demands for money back, the panel-wide list quickly stops new orders while you investigate.
Attacks on the site, password guessing and sign-up bots are not stopped by country blocking. For attacks through your own customer's API key there is a guide to API abuse: geo restriction helps there only if the abuse comes from one direction.
What excessive blocking costs you
- Your own customers on a VPN or travelling. A customer opened the panel on holiday or turned on a VPN and saw an empty catalog. The storefront does not explain that the country is the reason, so for them the panel is simply broken.
- Resellers on the API. An integrator's server can be anywhere. Close the country where it is hosted and all their orders start coming back with an error, even though neither they nor their customers live there.
- Search engine crawlers. A crawler sees the catalog the same way a visitor from its country does. Google's main crawler comes mostly from US addresses: close the whole panel to the US and you show it an empty catalog. Blocking individual services is safer here than the panel-wide list.
- Address database errors. Addresses of mobile carriers, corporate networks and cloud servers are sometimes listed in a different country from where the person actually is. The longer the list, the more accidental rejections.
If a customer writes that the catalog is empty while everything looks fine on your side, check the country list first. If the panel does not open for a customer at all, that is a different story, and there is a step-by-step diagnosis for it.
How to turn it on without losing your own customers
- Start with a service, not the whole panel. If the problem is one item, close the country in its form. The panel-wide list is for when you do not want to sell anything to that country.
- Look at where customers log in from. The customer card has a login history with the address and a country flag. Before closing a whole country, check that none of your active buyers are there.
- Ask resellers about their server. Write to those who work through the API in advance: they know exactly where their server is.
- Warn your customers. The storefront does not explain an empty catalog, so a short announcement and a ready support reply will save you a dozen tickets.
- Check the result. From an address in the closed country the catalog is empty and an order is rejected with a clear reason. From an address elsewhere everything is in place.
Where country blocking does not fit
- Against disputed payments. Topping up the balance is not closed by country: a visitor from a closed country can sign up and deposit money, they just cannot spend it. If the problem is disputed payments, solve it on the payment side, otherwise blocking adds a dispute about refunding the unused balance.
- Against deliberate bypassing. A VPN or a server in another country gets around the restriction in a minute. It is a filter for casual traffic, not a lock.
- If you need a closed site. The panel keeps opening, login and sign-up keep working. There is no setting in the panel that closes the whole site by country.
- If you need an allow list. You cannot let a specific customer from a closed country through: geo restriction is stronger than personal access.
Checking how this works on your own catalog costs nothing: the panel is free while orders go through our provider Heroverin SMM, and with third-party providers the first 100 orders a month are not billed. Connect a provider, close one service for one country and look at the catalog through the eyes of a visitor from there.