Insights

Thinking Blocking Datacenter IPs Stops Bots? Residential Proxies Use Home ISPs

December 3, 2026
0:00
A common first move against scraping or login abuse is to block the IP ranges of hosting providers: the big clouds, VPS companies, and dedicated server hosts. The reasoning sounds solid. Real visitors browse from home broadband and mobile data, so anything arriving from a datacenter must be automation. Block those networks and bot traffic should fall away. It usually does fall, for a few days, and then the traffic you actually cared about comes back from IP addresses that belong to ordinary consumer ISPs.
Every public IP address on the internet belongs to an autonomous system, identified by an ASN (autonomous system number). Hosting companies announce their own ASNs, and their address ranges are public. That makes them easy to list. Many firewalls, CDNs, and bot-management layers ship with a "hosting provider" or "datacenter" flag built on exactly that data. As one discussion of cloud IPs getting blocked more often points out, cloud ranges are publicly known, so security layers flag them by default. This filter is useful. It stops low-effort scrapers, scanners, and naive scripts that someone started on a cheap VPS and never thought about again. That category is real and noisy, and removing it cleans up your logs. The long-running LowEndTalk thread asking whether to block hosting company ranges also lists the cost: you can block legitimate people, such as users on corporate networks, privacy VPNs, or cloud-hosted developer setups. Uptime monitors, payment gateway webhooks, and some legitimate crawlers also run from cloud networks, so check what depends on those ranges before you block them. What the filter does not do is change the economics for anyone who wants your data or your login form badly enough to pay for access.
The answer is residential proxies. A residential proxy network routes requests through IP addresses assigned by home ISPs to real household connections, and mobile proxy networks do the same with carrier IPs. According to the ThumbmarkJS write-up on scraping prevention, advanced scrapers bypass datacenter blocks this way, and their traffic ends up looking like it comes from human users. The exit addresses in these networks are typically devices whose owners installed software that shares their bandwidth, or devices that were compromised. The details vary by proxy network. From your server's point of view, the request arrives from a consumer broadband ASN in a normal city, with a normal-looking browser user agent. Your ASN rule has nothing to match. Two more habits make this traffic hard to catch with IP rules. The operators rotate exit IPs, sometimes on every request, and they rotate user agents along with them. They also run "low-and-slow": each IP sends only a handful of requests, spaced out, so no single address crosses a per-IP threshold. We covered the rate-limiting side of this in why per-IP rate limits don't stop distributed Layer 7 floods. The same math applies here. Spread the work across enough addresses and every individual address looks polite. When a site owner says they blocked every cloud provider and the scraping continues, the first thing to check is which networks the remaining heavy traffic comes from. Team Cymru runs a public IP-to-ASN lookup over whois:
BASH
# Look up the ASN and owner for one IP (read-only query)
whois -h whois.cymru.com ' -v 203.0.113.10'
If the top requesters after your block resolve to consumer ISPs and mobile carriers, the bot traffic has moved to residential exits. Adding more ASNs to the list will not bring it back down.
The obvious next idea is to block the residential IPs as they show up. This works poorly for three reasons. First, the addresses aren't stable. Home and mobile IPs are usually assigned dynamically. The address a proxy used this morning may belong to a different household tomorrow, and that household is a real person who now can't reach your site. Second, many real users can share one address. Many ISPs, mobile carriers in particular, use carrier-grade NAT (CGNAT), where many subscribers sit behind one public IP. Blocking that single IP can lock out a large group of legitimate users at once. To your firewall, they are indistinguishable from the proxy exit that shared the address for a while. Third, reputation lists lag behind rotation. An IP reputation feed has to observe abuse from an address, score it, and publish the score. A proxy network that rotates through a large pool of residential exits can cycle past addresses faster than any list can mark them. By the time an address earns a bad score, the operator has usually moved on and the address is back with a regular household. With datacenter IPs, a block mostly hits machines. With residential IPs, a block mostly hits people.
If the source address can't tell a bot from a person, look at what the client does across a session. Automation that is cheap to run tends to behave differently from a browser driven by a human, even when it sits behind a clean home IP. Useful signals include:
  • Asset loading. A real browser fetching a page also requests its CSS, JavaScript, images, and fonts. Many scrapers request only the HTML or the API endpoint they want.
  • Request order. People usually land on a page, follow a link, and maybe use search. Scrapers often walk URL patterns in sequence (/product/1001, /product/1002, ...) or jump straight to deep URLs with no referrer and no prior navigation.
  • Session continuity. A browser keeps cookies. A client that never sends back the session cookie you set, or presents a new one on every request, is not acting like a browser.
  • Timing. Humans are irregular. Very even intervals between requests, or perfectly paced activity over a long period, point to a scheduler.
  • Patterns across accounts. On login forms, look at failures across many usernames over time rather than per IP. That is how distributed credential stuffing shows up, as described in low-and-slow account takeover that never triggers brute-force alerts.
You can do a rough first check on asset loading straight from access logs. This one-liner lists clients that made more than 20 page requests without ever fetching a static asset. It assumes the combined log format and a typical Nginx path, so adjust both for your server:
BASH
# Read-only: clients with many page hits and zero static asset requests
awk '7 ~ /\.(css|js|png|jpg|svg|woff2?)(\?|)/ {assets[1]++; next} {pages[1]++} END {for (ip in pages) if (!(ip in assets) && pages[ip] > 20) print pages[ip], ip}' /var/log/nginx/access.log | sort -rn | head
Treat the result as a lead, not a verdict. If a CDN serves your static files, those asset requests never reach origin, and real visitors will look like they skip assets. If you sit behind a reverse proxy, the first field may be the proxy's address unless you log the real client IP. And since residential bots rotate IPs, the per-IP view in this command is only a starting point. Production setups usually key on session cookies or device fingerprints instead, often through a bot-management layer that runs a JavaScript or cookie challenge before serving expensive pages.
This isn't a choice of one over the other. Each tool fits a different job. IP and ASN rules work well where the set of legitimate sources is small and known. Admin panels, SSH, database ports, and internal APIs should be restricted to known addresses whatever bots are doing. A datacenter block on public pages is also a reasonable cheap first layer for removing noise, as long as you allowlist the monitors, webhooks, and crawlers you rely on, and accept that some VPN and corporate users will hit friction. Behavior signals are what you need on surfaces that are open to the public by design: product pages, search, pricing, login, signup, checkout. On those surfaces, the attacker can choose any IP they like, so the IP tells you very little. As a rule of thumb, when bot traffic persists after a datacenter block, spending more effort on IP lists has diminishing returns, and the next hour is better spent on session and sequence analysis for the one or two endpoints that are actually being abused. Behavior-based detection has a cost too. It needs more logging, some tuning, and a plan for false positives, such as a challenge page instead of a hard block, so a real person on a strange network can still get through. That is usually a better failure mode than silently dropping a household behind CGNAT. If you blocked datacenter ranges and the abuse came back, look up the ASNs of whatever is still hitting you. Residential and mobile networks in that list mean the attacker has already adapted, and the fix is to watch how clients behave on your most-targeted endpoints instead of where their packets come from. Keep IP allowlists for the places only you should reach, and use challenges rather than hard blocks wherever real users might get caught.

Join My Newsletter & Get Updates!

Get notified whenever a new technical guide, server infrastructure breakdown, or personal reflection goes live, plus a curated weekly digest.