Geonode logo
Website blocks

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.

WhereWhat you see
Browser, top of the pageError 1006 / Ray ID: a5ea109cab7e6131 • 2026-11-22 18:40:50 UTC / Access denied
Browser, What happened? sectionThe owner of this website (www.example.org) has banned your IP address (198.51.100.24).
Browser tab titleAccess denied | www.example.org used Cloudflare to restrict access | www.example.org | Cloudflare
Browser, page footerCloudflare Ray ID: a5ea109cab7e6131 • Your IP: Click to reveal
curl -i, default headersHTTP/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.

  1. 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.

    1. Disconnect the VPN app and pause any proxy extension in this browser.

    2. Reload the page once; if it opens, the ban was on the service's address.

    3. On office or campus Wi-Fi, show the page to IT.

  2. 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.

    1. Copy the Ray ID and UTC time under the Error heading.

    2. Select Click to reveal in the footer and copy your IP.

    3. Try webmaster@ the site's domain, or find a contact at lookup.icann.org.

    4. Ask them to allow your address, and say what you were doing.

  3. 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.

    1. Open Security Events: go to the Analytics page and select the Events tab.

    2. Select Add filter, then IP, equals and the visitor's address.

    3. Expand the event to see the action and the security feature that applied it.

    4. 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.

  1. After two wrong passwords, use the reset link; tools such as fail2ban ban addresses with too many failed logins.

  2. In scripts, send Accept: application/json (curl also needs --compressed) and stop for good when error_category reads access_denied.

  3. Owners: give every IP access rule a note, as in Cloudflare's 'Payment Gateway' example.

  4. Owners: keep /16 rules for emergencies; one covers 65,536 addresses.

For owners: allow your own toolsAn ISP IP stays the same across sessions, so your own Allow rule matches it.
Try ISP proxies

Related errors

Learn more

FAQ

It is Cloudflare's Access denied page for a banned IP address. Whoever runs the website blocked the address your request came from, and Cloudflare enforces that choice.

Take any VPN, proxy or relay out of the path and load the page again. If the error remains, email the site the Ray ID, the time and your IP.

Cloudflare's docs describe them, and 1106, as one error with one page text. The JSON replies name them ip_banned, ip_range_banned_24, ip_range_banned_16 and ipv6_banned, which suggests a single address, a /24 range, a /16 range and an IPv6 address.

Cloudflare sets no timer: its JSON reply says retryable: false and has no Retry-After header. The ban ends when the owner deletes the rule, or when a tool such as fail2ban removes its own.

Cloudflare's docs say the Preview tab relies on Google Cloud Platform addresses. If Zone Lockdown or another security feature on the site blocks them, the preview shows 1006.

The owner banned the address it runs from, and the JSON error's what_you_should_do field begins 'Do not retry'. Stop the job, read the site's robots.txt and terms, use its official API if one exists, or ask the owner.

Preview your own ban page

Block an ISP IP in a test rule and open your own site through it.