Skip to content
Log In Sign Up info@muvcloud.com

What Error 1006 Means

A page with "Error 1006" and a message that access is denied because your IP address has been banned comes from Cloudflare, the CDN in front of the site. The site owner, or a rule they configured, blocked the visitor's IP address. The request stopped at the CDN's edge and never reached the site's own server, so nothing is broken: a block is working as configured. Only the site owner can change it.

Error 1006, 1007, and 1008

These three codes show the same message and have the same cause: the visitor's IP address is banned by the site's security settings. Cloudflare's documentation groups them together, along with 1106, and they are fixed the same way, so the steps below apply to all of them.

How It Differs from 1005 and 1015

  • Error 1006: one IP address, or a range of addresses, is banned.
  • Error 1005: a whole network, identified by its autonomous system number (ASN), is banned; see Cloudflare error 1005.
  • Error 1015: the address is not banned but sent too many requests too quickly and is limited for a while; see Cloudflare error 1015.

What a Visitor Can Try

  • VPN or proxy: if you use one, turn it off. Its exit address is shared by many people and may have been banned because of someone else.
  • Another network: a mobile connection instead of the office network shows whether the ban is tied to your current address.
  • Contact the site owner: send your public IP address, the time, and the Ray ID printed at the bottom of the error page. The Ray ID lets the owner find the exact event.

Clearing the browser cache or cookies does not help: the decision is made on the address, before any page loads.

For the Site Owner: Find the Event

Open the security events log for the domain in the Cloudflare dashboard, in the security section. Filter by the visitor's IP address or by the Ray ID. The event shows which feature blocked the request, such as an IP access rule or a custom rule, and that tells you where to change it.

IP Access Rules and Custom Rules

  • IP access rules: single addresses or ranges with an action such as block. A rule added in a hurry during an incident, or by a colleague, is a frequent cause.
  • Custom rules: rules whose expression matches the source address. A range written too wide, such as a /16 instead of a /24, bans many unrelated visitors.
  • IP lists: a custom rule can refer to a named list, and an address can sit on a list long after the reason is forgotten.

Check from the Command Line

To confirm the site is proxied, look up its address. A proxied record returns CDN addresses, not your server's; see the dig command:

dig +short example.com

IP access rules can also be listed through Cloudflare's API with a token that may read the zone's firewall settings. Replace the zone id, the token, and the visitor's address:

curl -s "https://api.cloudflare.com/client/v4/zones/ZONE_ID/firewall/access_rules/rules?configuration.value=198.51.100.25" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

A matching rule in the result shows its mode and its note. If your web server logs real visitor addresses, searching its access log for the address comes back empty while the ban is active, because the request never arrives:

sudo grep -c 198.51.100.25 /var/log/nginx/access.log

Lift or Narrow the Ban

  1. If the address belongs to a real visitor, delete the block rule or change its action.
  2. If the rule covers a range, shrink it to the addresses that caused trouble.
  3. If a strict rule must stay, add an allow rule for the one known address, with a note saying who it is and why.
  4. Give every block rule a note, so the next person can tell why it exists.

Confirm the Fix

Ask the visitor to reload the page, or test from the affected address:

curl -sI https://example.com/ | head -1

A 200 or a normal redirect, instead of the 403 status the error page is served with, shows the ban is gone. Check the security events log again: no new block events for that address should appear.

Updated:

Linux VPS with Full Root Access

MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.

Cloud VPS Plans Starting at2.99 $/mo Cheap Linux VPS

No Limits on Service or Support

You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

Support specialist
  • 100% customer satisfaction goal
  • Our own hardware
  • 24/7 ticket and email support
  • 4 countries with locations