Country Whitelist
This page explains the Country Whitelist feature in GoAdmio. It exempts visitors from one or more countries from automatic IP blocking — so traffic from those countries is never blocked by the AI-driven abuse protection that blocks IPs for high traffic or bad behavior.
Location: Admin Panel → Security → Country Whitelist
Location (User Panel): Security → Country Whitelist (if enabled for the account)
Overview
GoAdmio's security stack includes automatic IP blocking driven by heuristics and AI: IPs that generate excessive traffic, fail repeatedly, or exhibit attack patterns are blocked automatically. This protects the server — but it can also block legitimate high-traffic sources, such as:
- A customer's own ISP or office network
- A regional CDN or proxy that serves many legitimate users
- A monitoring service or API provider in a specific country
- A business partner or integration that sends regular requests
> Warning: Whitelisting a country disables automatic protection for every IP in that country. An attacker operating from a whitelisted country can consume server resources without being auto-blocked. Use this feature sparingly, and only for countries you have a specific, verifiable reason to trust.
What the Page Shows
| Column / Field | Description |
|---|---|
| Country | The country name and ISO code (e.g., Egypt (EG)) |
| Status | Whether the country is whitelisted |
| Added By | Who added the whitelist entry |
| Date Added | When the country was whitelisted |
| Actions | Remove the whitelist entry |
| Search | Filter the list by country name or code |
> Tip: The list typically shows all countries with a toggle, or only the whitelisted countries with an Add button — depending on your GoAdmio version. Check the page header for the active mode.
How to Whitelist a Country
Via the Admin Panel
- Log in to the GoAdmio Admin Panel.
- Navigate to Security → Country Whitelist.
- Search for the country by name or ISO code.
- Enable the whitelist for that country (toggle, checkbox, or Add button).
- Save.
Removing a Country from the Whitelist
- Open Security → Country Whitelist.
- Locate the country.
- Disable the whitelist (toggle off, or Delete).
- Save.
How It Works
When an IP triggers an automatic block heuristic:
- GoAdmio determines the IP's country using a GeoIP database.
- It checks the Country Whitelist for that country.
- If the country is whitelisted → the block is skipped; the request proceeds.
- If the country is not whitelisted → the block is applied as usual.
> Tip: The Country Whitelist complements IP Blocker — use IP Blocker for targeted manual blocks, and Country Whitelist to prevent false positives from automatic blocking.
Common Use Cases
| Scenario | Whitelist |
|---|---|
| Customers are in a specific country and their office IPs get auto-blocked | That country |
| A regional CDN or proxy serves many legitimate users from one country | That country |
| A monitoring service or API provider operates from a specific country | That country |
| A business partner or integration sends regular requests from one country | That country |
| The hosting provider's own infrastructure is in a specific country | That country |
| A search engine crawler operates from a known country | That country (with caution) |
| A known attack source is in a country | Do not whitelist — keep automatic protection active |
> Warning: Do not whitelist a country solely because "most of our customers are there." If the country has a high volume of attack traffic, whitelisting it disables protection against that traffic too.
GeoIP Accuracy
Country detection relies on a GeoIP database (MaxMind, IP2Location, or similar). Accuracy varies:
| Factor | Impact |
|---|---|
| VPN / proxy | The IP's geo-location may not match the user's real location |
| Mobile networks | IPs may be registered to a different country than the user |
| Cloud providers | IP ranges may be assigned to a country different from the workload's location |
| Stale database | New IP allocations may be misclassified |
> Tip: If the Country Whitelist is not working as expected, verify the IP's detected country with a tool like geoiplookup or an online GeoIP lookup. If the database is stale, update it — or contact GoAdmio support for the current GeoIP source.
Verifying the Whitelist
Test with curl
From an IP in the whitelisted country (or via a VPN):
```bash
curl -I https://example.com/