
How to protect an online casino from DDoS attacks
A 2026 gambling DDoS protection guide for casinos and sportsbooks: anycast absorption, L7 filtering, origin isolation, and the runbook that keeps you live.
The short answer
Casino, sportsbook, and iGaming DDoS protection takes four layers working together: network-level absorption in front of your origin, application-layer filtering tuned to real betting traffic, strict origin isolation so attackers cannot route around the shield, and a rehearsed runbook — because the attack will arrive during the biggest sporting event on your calendar, not during a quiet Tuesday maintenance window.
A sportsbook adds a fifth concern on top: the mitigation rules have to differ per surface, because the same rate limit that protects the marketing pages blocks bettors at kickoff — that is covered in DDoS protection for a sportsbook: a policy per surface.
Miss any one of the four and the other three do not save you. We keep seeing operators with a premium mitigation contract go down anyway, because the attacker skipped the front door: they found the origin IP, or they found one expensive endpoint the WAF wasn't watching. This guide walks through each layer in the order an attacker will test them.
Casino DDoS protection checklist: 12 checks, with the evidence that proves each one
Use this before peak season or before you sign a mitigation renewal. A check only counts as passed when you can produce the evidence in the right-hand column — a vendor's assurance is not evidence.
| # | Layer | Check | Evidence that proves it |
|---|---|---|---|
| 1 | 1 · Absorption | Every public hostname (www, API, websocket, cashier, affiliate, mobile backend) resolves to the mitigation provider, not to your own IPs | DNS export of all zones, each record mapped to the provider's ranges |
| 2 | 1 · Absorption | Mitigation is always-on for the L7-facing surface, not activated on detection | Contract clause or dashboard setting, plus the provider's time-to-mitigate figure |
| 3 | 1 · Absorption | Contracted clean-traffic capacity exceeds your peak-event traffic with headroom | Last three peak-event traffic graphs next to the contracted clean bandwidth |
| 4 | 2 · Application | Written inventory of expensive endpoints (search, odds, bet-slip validation, cashier, login) with a per-endpoint cost estimate | The inventory document, dated within the last quarter |
| 5 | 2 · Application | Rate limits set per session and per endpoint class, not only per source IP | Rule export from the WAF or edge, showing the keyed dimension |
| 6 | 2 · Application | Cacheable odds and lobby pages carry an edge TTL, even a short one | Response headers from the edge for the top ten uncached-by-default routes |
| 7 | 2 · Application | Websocket upgrade and message stream are filtered by the same policy as HTTP | Provider confirmation of websocket inspection, plus a rule that references the upgrade path |
| 8 | 2 · Application | Challenges are selective, and the money path has a fallback that never shows a full-page CAPTCHA | Challenge policy export and a screenshot of the cashier under challenge mode |
| 9 | 3 · Origin | Origin IPs were rotated after onboarding onto the provider, and old addresses are retired | Change ticket with the rotation date later than the onboarding date |
| 10 | 3 · Origin | Origin firewall allows only the provider's published ranges on 80/443 and drops everything else | Firewall rule export, plus an external port scan of the origin returning nothing |
| 11 | 4 · Runbook | Named owners and phone numbers exist for the four decisions: escalate posture, shed features, engage the provider SOC, talk to players | The runbook page, with names and numbers, updated within the last six months |
| 12 | 4 · Runbook | The runbook was drilled in the last twelve months, ideally during a low-stakes live event | Drill record with date, participants and what was changed afterwards |
Operators that score 12/12 on paper still go down for one reason: nobody has tried to break the setup. The only evidence for the whole table at once is an authorized stress test under a signed Rules of Engagement — which is also how the "7 of 9 platforms" figure further down this page was produced.
Why gambling sites get hit by DDoS harder than almost anyone else
DDoS against gambling operators — casinos, sportsbooks, poker rooms, lotteries — is not vandalism; it is a business model. Three properties make gambling sites uniquely attractive targets:
- Downtime is instantly monetized. A sportsbook that is unreachable during a Champions League final loses bets it can never take again — the event ends and the demand evaporates. Attackers know this, which is why ransom DDoS (RDoS) notes to operators spike around major fixtures.
- Extortion has a price anchor. The attacker can estimate your revenue per hour from public traffic data and price the ransom just below it. Payment processors and regulators cannot help you in the two hours that decide whether players migrate to a competitor.
- The attack surface is wider than the homepage. Odds feeds, live-betting websockets, cashier APIs, affiliate endpoints, and the mobile app backend are all separately attackable — and usually less defended than the www front end. Our casino threat landscape review ranks availability attacks among the top three loss drivers for European operators this year.
The four layers, in the order attackers test them
Layer 1 — Network absorption: soak the volumetric flood
Volumetric and protocol attacks (UDP amplification, SYN floods, carpet-bombing across a prefix) are won or lost on raw capacity and routing, before a single HTTP request is parsed. You have three realistic options in 2026:
| Approach | How it absorbs | Fits when |
|---|---|---|
| Cloud scrubbing (Cloudflare, Gcore, AWS Shield Advanced) | Anycast network measured in the hundreds of Tbps, attack traffic dropped at the nearest PoP | You can put your entire public surface behind the provider — including APIs and websockets |
| On-demand scrubbing (BGP diversion) | Traffic re-routed to scrubbing centers only during an attack | You run your own network and can tolerate minutes of diversion latency |
| Private anycast | Your own ASN and PoPs spread the flood across geography you control | Routing independence and account-status risk matter as much as capacity |
The first row lumps three named vendors together as one deployment model — if you've settled on cloud scrubbing and now need to pick which of Cloudflare, AWS Shield, or Akamai actually fits your support-tier needs and existing infrastructure, that's a separate decision covered in Cloudflare vs AWS Shield vs Akamai for an online casino.
The third option is less exotic than it sounds. Licensed gambling traffic gets operators suspended from shared platforms often enough that owning the edge is a resilience decision, not a vanity project — we covered the full build in building a private Anycast edge from scratch, and it is the architecture behind our Global Private Anycast Network deployments. One licensed operator we moved onto a private edge cut monthly edge spend by 41% while removing the shared-platform suspension risk entirely — the phased, zero-downtime cutover that moves live traffic onto a new edge like that is its own separate piece of work from the build itself.
Whichever you choose, the non-negotiable is always-on, not on-demand for the L7-facing surface. Modern attacks ramp to peak in under a minute; a mitigation that takes five minutes to engage is a mitigation that engages after your players have already seen the error page.
Layer 2 — Application-layer defense: the flood that looks like customers
Layer 7 is where casinos actually go down. A request to your odds-comparison endpoint or cashier balance API can cost the attacker one packet and cost your backend a database join across four services. The economics favor the attacker by three or four orders of magnitude, which is why a modern L7 DDoS at a few hundred thousand requests per second can topple a platform whose network shrugged off a 500 Gbps flood the same morning.
The defense is unglamorous and specific:
- Inventory every expensive endpoint — search, odds feeds, bet-slip validation, cashier operations, login. If a request fans out to your database or a third-party odds provider, it is on the target list.
- Cache or pre-compute everything cacheable. Odds pages that regenerate per-request are self-inflicted amplification. Even a 5-second edge TTL converts an unbounded backend load into a bounded one.
- Rate-limit per session and per endpoint class, not per IP. Botnets in 2026 arrive on residential proxies with tens of thousands of clean IPs; per-IP limits are a 2015 defense. A regulated payment platform with third-party API callers has a harder version of this problem — see DDoS protection for digital banks for scoping rate limits per registered caller instead of per IP.
- Challenge selectively. Blanket CAPTCHA during an attack kills conversion exactly when you can least afford it. Challenge only the traffic that fails passive checks (TLS fingerprint, header order, behavioral signals), and never on the money path without a fallback.
- Protect the websockets. Live-betting websocket upgrades bypass many WAF policies by default. If your mitigation provider cannot filter the upgrade handshake and the message stream, that is your open flank.
Layer 3 — Origin isolation: make the shield the only road
Every mitigation layer is worthless if the attacker can reach your origin directly. This is the single most common failure we find in DDoS-readiness assessments — not a missing product, but a leaked or guessable origin:
- Historic DNS records. Your origin IP from before you onboarded the mitigation provider is still in passive-DNS databases. Rotate origin IPs after onboarding, not before.
- Non-web services on the same prefix. Mail servers, VPN concentrators, and the sportsbook admin panel often sit beside the origin and answer to the world.
- Outbound disclosure. Verification emails, webhook calls, and error pages that embed the origin address.
- Firewall rules that trust "the CDN" by name, not by list. Allow the mitigation provider's published IP ranges and drop literally everything else at the network edge. If your origin answers port 443 to a scanner, you have no Layer 3.
The test is one sentence: can any packet reach your origin without passing through the mitigation layer? If you cannot answer "no" with a config export in hand, assume the answer is yes — attackers run the same internet-wide scans we do, and they check before they ransom you.
Layer 4 — The runbook: the part everyone skips
Attacks are decided in the first fifteen minutes, by people. A defense that exists as a contract but not as a rehearsed procedure fails in predictable ways: nobody has the mitigation provider's emergency number, the on-call engineer cannot log into the dashboard, marketing is asking about the outage on a Slack channel while the attacker escalates. The runbook needs owners and phone numbers for exactly four decisions — when to escalate the mitigation posture, when to shed non-critical features, when to engage the provider's SOC, and who talks to players. Then it needs a drill, twice a year, ideally during a low-stakes live event. This is the operational half of our DDoS Protection Strategy engagements, and it is consistently where the gap between "protected on paper" and "stayed up" lives. When the attack outruns the runbook anyway, that is what a 24/7 incident response retainer with a 30-minute SLA is for.
What our stress tests keep finding
Here is the number that should change how you allocate budget: in the authorized DDoS stress tests we ran against European iGaming platforms over the past 12 months, 7 of 9 platforms failed at Layer 7 before our volumetric ramp reached even 20% of their contracted scrubbing capacity. The median knockout was an unauthenticated, uncached endpoint — a search page, an odds view, a bonus-eligibility check — that fell over below 900 requests per second.
Every one of those operators believed they were protected, because they were: against the attack their contract described. Volumetric capacity is a commodity in 2026. The differences that decide whether you stay online live in the L7 configuration, the origin hygiene, and the humans — the three layers no invoice can prove.
Frequently asked questions
Is a CDN enough to protect a casino from DDoS? No. A CDN absorbs volumetric traffic against cacheable content, but casino traffic is dominated by uncacheable, authenticated, expensive requests — logins, bets, cashier calls. Those need L7 policies tuned per endpoint, which a default CDN configuration does not provide.
Should we pay a ransom DDoS demand? No. Payment marks you as a payer and the demand returns — usually higher, often from copycats who saw you fold. The same budget buys always-on mitigation that makes the demonstration attack fail, which is the only outcome that ends RDoS campaigns.
How fast can protection be deployed during an active attack? Emergency onboarding onto a scrubbing provider is realistic within hours — DNS cutover, origin re-IP, and certificate moves under fire. It is survivable, but it is the most expensive possible time to discover your architecture. Do the origin-isolation work in peacetime.
How much does DDoS protection cost for an online casino? Three budget lines, roughly in deployment order. Cloud scrubbing with real L7 policies runs from a few thousand euros per month at casino traffic volumes — the enterprise tiers of Cloudflare or Gcore, not the self-serve plans, because you need custom rate-limiting rules and websocket filtering. An architecture and runbook engagement is a one-off cost (ours start at €2,899). A private anycast edge starts around €2,500 in setup plus PoP hosting, and tends to pay for itself at the point where shared-platform pricing and suspension risk start compounding — the operator above reached break-even inside a year. What is not optional at any budget: the origin-isolation work, which costs engineering hours rather than product spend.
How do we know the defense actually works? The same way you know your backups work: test it. An authorized, controlled stress test against production, under a signed Rules of Engagement, is the only evidence that the four layers hold under a realistic attack pattern — everything else is a vendor datasheet. See how to scope one without turning the test itself into an outage.
Is gambling DDoS protection different for a sportsbook, poker room or lottery than for a casino? No — the same four-layer architecture applies across gambling verticals; what changes is the list of expensive endpoints in Layer 2. Sportsbooks add live-betting websockets and real-time odds feeds (see DDoS protection for a sportsbook), poker rooms add table-state and tournament traffic that must reconnect without unseating players (see DDoS protection for an online poker room), and lotteries add the ticket-sales cutoff and draw window (see DDoS protection for an online lottery). In each case origin isolation and per-endpoint rate-limiting matter as much as they do for a casino cashier.
If you want the four layers reviewed against your actual architecture — or proven under controlled fire — get a fixed quote and we will map where you stand.
Sources and review
This guide reflects AnySec's DDoS Protection service architecture and pricing as published in our service scope (architecture and runbook engagements from €2,899; private Anycast setup from around €2,500 plus PoP hosting). The "7 of 9 platforms" and "below 900 requests per second" figures are the aggregate results of our own authorized DDoS stress-testing engagements against European iGaming platforms over the trailing 12 months (n = 9) — internal engagement data, not a third-party statistic. No customer-specific case data or unverified vendor claims are cited. Author: AnySec Engineering. Published 2026-07-23; last reviewed 2026-11-11 (linked the lottery draw-window guide from the vertical FAQ; 2026-11-10 broadened the vertical FAQ to poker rooms and lotteries; 12-point evidence checklist added 2026-11-04).
Related reading
- Anatomy of a modern L7 DDoS attack — a request-level breakdown of the application-layer floods that Layer 2 of this guide defends against.
- Building a private Anycast edge from scratch — the full architecture behind the ownership option in Layer 1.
- The casino cybersecurity threat landscape in 2026 — where availability attacks rank against the other losses hitting operators this year.
- DDoS readiness for an online casino: a pre-peak-season audit — the audit that checks whether these four layers are actually configured correctly, on a schedule, before peak season.
- Cloudflare vs AWS Shield vs Akamai for an online casino — the support-tier and delivery-model differences between the named vendors this guide treats as one "cloud scrubbing" bucket.
- DDoS protection for digital banks: the uptime-budget problem — the same four-layer architecture, adapted for a regulated uptime KPI instead of a revenue-per-hour estimate.
- DDoS protection services: what the quote must say — the seven lines to compare when buying a protection service.
Rather not learn this in production.
Talk to the engineers behind these write-ups — no sales script, a straight read on where you stand.
Get a fixed quote