Cloudflare Error 1020 / 1005 Access Denied on a Proxy IP
Tell 1005 (banned ASN) from 1020 (a firewall rule) and see which checks you can run yourself and when only the site owner can fix it.
The 3 most common causes
Cause 1: the site owner banned the network. Error 1005 is the Cloudflare page for a banned ASN. An ASN is the number of the network that announces your IP address, so every address on that network gets the same answer. Cloud and hosting networks are the ones owners ban most often, but any ASN can be banned.
Cause 2: a security rule with a Block action matched the request. Cloudflare says 1020 appears when a rule configured by the owner blocks the request and the rule has no custom response; the page comes with HTTP 403. What the rule looks at (country, path, a header, a schema) is the owner's choice and is not shown to you.
Cause 3: your traffic does not look like what you expect. The proxy may not be applied, you may be testing from a different network than you think, or a script sends requests the owner's rule targets. Check the exit first, then read the rest of this page.
The website owner banned the ASN your IP belongs to
Only the site owner (IP Access Rules)
1020 Access denied
A security feature set by the owner blocked the request (HTTP 403)
Only the site owner (the rule in Security Events)
1015
Rate limited: too many requests in a period
Wait; the owner sets the limit
1010
Access denied based on the browser signature
The owner, or fix a non-browser User-Agent when the owner allows API clients
From the Cloudflare documentation pages for errors 1005, 1020, 1015 and 1010, read on 16 November 2026. Cloudflare does not publish which rule fired for a given visitor; the owner finds it in the Security Events log by Ray ID or IP.
Copy the error number and the Ray ID shown at the bottom of the page, or read the cf-ray header with the curl line below. The owner needs the Ray ID to find the event. The 1xxx code is in the page body and the HTTP status in the header.
Step 2: Confirm the page opens without the proxy
Open the same URL on your normal connection. If it opens there and fails only through the proxy, the block is tied to the proxy exit (its IP or ASN). If it fails both ways, the rule is about something else, such as your country, a path or a request you send.
Step 3: Look up the ASN of your exit
Run the first curl line. The org field begins with the ASN, and IPinfo labels the network type as hosting, isp, business, education or government. A 1005 is about that ASN, so you know what the owner sees.
Step 4: Test the same page from the exit you actually plan to use
A datacenter exit and a static ISP exit are on different networks, so the result can differ. Test with a short lease first. Do not assume a result carries over to another site: every owner sets their own rules.
Step 5: Contact the site owner with the Ray ID
Cloudflare tells visitors to send the owner a screenshot of the error page. If you have a legitimate reason to use the site, ask the owner to allow your network. If you own the site, search Security Events by Ray ID and review the rule or the IP Access Rule.
See the ASN and the Cloudflare Ray ID from your exit
# Which network (ASN) does the target site see?
curl -sS -x http://LOGIN:PASSWORD@HOST:PORT https://ipinfo.io/json
# Status line and Cloudflare Ray ID of the blocked page
curl -sS -o /dev/null -D - -x http://LOGIN:PASSWORD@HOST:PORT https://example.com/ | grep -i -E '^(HTTP|cf-ray)'
Example only: replace LOGIN, PASSWORD, HOST and PORT with your own values and example.com with the page that fails. The org field of the first call starts with the ASN.
If it still fails
1005 on every IP I try
Check Look up the ASN of each exit. If they are all on the same network, or the owner bans a whole type of network, a new IP will not change the result
Fix Contact the owner with the Ray ID, or use the site's official API or data feed if it has one
Stop when Stop changing IPs after three exits on three different networks give the same 1005
1020 only on one page or action
Check See whether the same site opens elsewhere on the domain; a rule can be limited to a path or request type
Fix Slow down, send what the page expects, and ask the owner which rule fired
Stop when Stop if the error comes with a login or payment step you do not own
Page opens in a browser but fails in a script
Check Compare the status code and body of the script with the browser; read the cf-ray header
Fix Use the documented API of the site; a rule that blocks API-style requests is not fixed by a new IP
Stop when Stop after two identical failures and ask the owner
The error page does not show a number
Check The error may come from your own network, a captcha or another provider, not from Cloudflare 1xxx
Fix Test with curl through the proxy and without, and check address, port and protocol first
Stop when Stop and open a ticket with the order number if the proxy itself does not connect
Using Proxy302 for work that does not depend on one site's rules
Datacenter IPs suit tasks such as testing your own site, calling APIs, checking a response from a given country or loading speed. A datacenter per-IP lease costs US$0.25 for 1 day, US$3.99 for 30 days, the same in every country; you choose HTTP (port 2222) or SOCKS5 (port 3333) when you buy. There is no free trial: the smallest purchase is one IP for one day.
We cannot promise that a given site accepts a given IP, because the site owner decides. If an IP that should work does not connect at all, open a support ticket with the order number and we reissue it.
The website owner has banned the autonomous system number (ASN) your IP belongs to, so every address on that network is refused. Only the owner can lift it.
What is the difference between error 1020 and 1005?
1005 is tied to the ASN. 1020 comes from a security rule with a Block action that the owner configured; it comes with HTTP 403 and Cloudflare does not say which rule fired. The owner finds it in Security Events.
No. An owner can write a rule about country, path, headers or any ASN, so no IP type is guaranteed. Test the exit you plan to use on the page you need, and expect different sites to behave differently.
It is printed on the Cloudflare error page, and Cloudflare also returns it in the cf-ray response header. The owner can search it in the Security Events log.
I own the site and my users get 1020 or 1005. What do I check?
Open Security Events, search by the Ray ID or client IP (convert the UTC time first), see which feature and rule fired, then change that rule; for 1005 make sure the ASN is allowed in IP Access Rules.
Check the exit IP, country and ISP your proxy really gives you in 30 seconds — and why IP databases disagree on the city. With our own test of three lookup services.
Read on 16 November 2026: 1020 means a Cloudflare security feature set up by the website owner blocked the request; it comes with HTTP 403; the common cause is a security rule with a Block action and no custom response; the visitor is told to send the site owner a screenshot; the owner finds the rule in the Security Events log by Ray ID or client IP.
Read on 16 November 2026: 1005 means access is denied because the visitor's Autonomous System Number (ASN) is banned by the website owner; the visitor is told to send the owner a screenshot; the owner searches Security Events by Ray ID or IP and makes sure the ASN is allowed in IP Access Rules.
Read on 16 November 2026: 1xxx errors appear when a site proxied by Cloudflare returns an error page; the 1xxx code is in the HTML body and the HTTP status (for example 403 or 429) in the response header; only the website owner can contact Cloudflare for support.
Read on 16 November 2026: CF-Ray is a hashed value (Ray ID) that encodes information about the data center and the request; as a response header it ends with a three-letter data center code, for example 230b030023ae2822-SJC.
Read on 16 November 2026: the as object returns asn, name, domain and type, and type is one of hosting, isp, education, government, business.
Proxy302 product facts and price list
Product observation · Confirmed on:
Product facts file of the site (prices in US$, 1 PTC = US$1, lease terms, protocols and ports, no free trial; the datacenter per-IP prices and countries). Checked on 16 November 2026.
Ready to try it?
Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.