How to Fix Cloudflare Error 1006 (IP Address Banned)
See whose address was banned, what to send the site's owner, and where owners find the rule.
Updated
TL;DR
Cloudflare shows error 1006 (or 1007, 1008 and 1106) when a website's owner has banned your IP address, and answers with HTTP 403. Turn off any VPN or proxy and reload once; if the page stays, send the owner your Ray ID and IP.
What error 1006 looks like
Codes 1007, 1008 and 1106 use the same page with their own number. Here www.example.org stands for the site and 198.51.100.24 for your address.
| Where | What you see |
|---|---|
| Browser, top of the page | Error 1006 / Ray ID: a5ea109cab7e6131 • 2026-11-22 18:40:50 UTC / Access denied |
| Browser, What happened? section | The owner of this website (www.example.org) has banned your IP address (198.51.100.24). |
| Browser tab title | Access denied | www.example.org used Cloudflare to restrict access | www.example.org | Cloudflare |
| Browser, page footer | Cloudflare Ray ID: a5ea109cab7e6131 • Your IP: Click to reveal |
| curl -i, default headers | HTTP/2 403 / content-type: text/plain; charset=UTF-8 / content-length: 17 / server: cloudflare / error code: 1006 |
| Node.js fetch or Python urllib with Accept: application/json | "detail":"The site owner has blocked your IP address." / "error_code":1006,"error_name":"ip_banned","error_category":"access_denied" / "retryable":false,"owner_action_required":true |
| Same JSON request, codes 1007, 1008 and 1106 | "error_name":"ip_range_banned_24" / "error_name":"ip_range_banned_16" / "error_name":"ipv6_banned" |
Why this happens
The site's owner told Cloudflare to refuse your address, or a range that contains it.
One IPv4 address can stand for hundreds or thousands of people behind a VPN, a proxy or a carrier's NAT, Cloudflare's researchers write. A ban one of them earned shuts out everybody on it.
Diagnose your 1006 first
Three checks need only a browser or your router; the last is for scripts.
Open What is my IP in this browser; if Organization is not your internet provider, the banned address belongs to a VPN, proxy or relay.
Open your router's status page; if its WAN address starts with 100.64 through 100.127, your provider shares one public address among many customers.
Think back; if you mistyped a password several times just before, a tool such as fail2ban may have added the ban.
Print a script's 403 body; if it reads 'error code: 1006' or shows Error 1006 in HTML, the cf-ray header holds the Ray ID.
Solutions ranked by effectiveness
The first two cards are for visitors; the third is for the site's administrator.
- Most common fix
Disconnect the VPN, proxy or relay
Applies when one of these carries your traffic: the site is judging the service's shared exit address, not you. Keep it off for this site; picking another of its servers goes around the owner's decision.
Disconnect the VPN app and pause any proxy extension in this browser.
Reload the page once; if it opens, the ban was on the service's address.
On office or campus Wi-Fi, show the page to IT.
- Check next
Send the owner your Ray ID and IP
Applies when 1006 stays without those services. Cloudflare's support cannot override a customer's security settings, so write to the site itself.
Copy the Ray ID and UTC time under the Error heading.
Select Click to reveal in the footer and copy your IP.
Try webmaster@ the site's domain, or find a contact at lookup.icann.org.
Ask them to allow your address, and say what you were doing.
- Site owners
Find the rule that banned the visitor
If you manage the site, start from the visitor's IP or Ray ID. A teammate or a tool may have added the ban; fail2ban's Cloudflare action writes Fail2Ban in each rule's note.
Open Security Events: go to the Analytics page and select the Events tab.
Select Add filter, then IP, equals and the visitor's address.
Expand the event to see the action and the security feature that applied it.
On the Security rules page, look for an IP access rule blocking that address.
Stop the 1006 from coming back
Two habits for visitors and scripts, then two for owners who add bans.
After two wrong passwords, use the reset link; tools such as fail2ban ban addresses with too many failed logins.
In scripts, send Accept: application/json (curl also needs --compressed) and stop for good when error_category reads access_denied.
Owners: give every IP access rule a note, as in Cloudflare's 'Payment Gateway' example.
Owners: keep /16 rules for emergencies; one covers 65,536 addresses.
Related errors
Learn more
FAQ
Preview your own ban page
Block an ISP IP in a test rule and open your own site through it.


