
Origin IP Exposure: Find the Paths Around Your DDoS Shield
Mitigation only helps if traffic must pass through it. How to find every way an attacker can reach your origin directly, close each path, and prove it stays closed.
The short answer
A DDoS shield only protects traffic that goes through it. If an attacker can learn your origin address and reach it directly, the shield is bypassed. Find every path that reveals or reaches the origin, close each one with a network-level allowlist plus something only your account can present, and re-check after every change that adds a hostname, sender or server.
Who this is for
This is for a CTO, head of infrastructure or security lead who already pays for mitigation and wants to know whether it can be walked around. The four-layer DDoS protection guide names origin isolation as one layer, and the readiness assessment lists origin exposure as a first finding. This article takes that one layer and turns it into a method: where origins leak, how to check each place yourself, and what "closed" has to mean before you can sign it off.
Why the origin is the cheapest target
Mitigation works by being the front door. Your hostname resolves to the provider, the provider absorbs and filters, and only clean requests continue to your server. An attacker who skips the front door does not need to beat the provider. They need one address and a route to it.
That makes origin exposure a different kind of failure from capacity. You can buy a large mitigation plan and still go offline to a small flood, because the flood never touched the plan. It lands on the link and the machine you sized for your own traffic. It is also a failure you can fix in days rather than quarters, since it is mostly configuration and housekeeping, not procurement.

Where origins leak: the exposure matrix
Use this as a working sheet. For each row, run the check against your own assets and record the finding. The table has no pass thresholds because the right answer is binary: either the path exists or it does not.
| Leak path | How the origin address gets out | How to check it on your own estate | What closes it |
|---|---|---|---|
| Historic DNS | Records from before the provider was onboarded stay in third-party DNS history | Review your own DNS change log and public DNS history sources for the hostname | Re-address the origin after onboarding, then allowlist |
| Sibling hostnames | A direct, origin, mail, vpn or staging name points at the real address | List every published name and where it resolves | Remove the name, or put it behind the same shield |
| Certificates | Certificate transparency entries reveal names; a default certificate on the origin identifies it when scanned | Review certificate logs for your domains; test what the origin presents on a bare IP request | Serve nothing meaningful on a bare IP request; retire unused names |
| Outbound mail | Verification and notification emails carry the sending server's address in headers | Send yourself each kind of system email and read the headers | Send through a relay or provider that is not the origin |
| Webhooks and callbacks | The application calls partners or payment processors from the origin's address | Check partner logs and your egress path | Route egress through a separate address or NAT |
| Error pages and debug output | Stack traces, redirects or API responses embed the host or internal URL | Trigger common errors on a test route and read the response | Disable verbose errors; fix absolute URLs |
| Neighbouring services | Mail, VPN, admin or a database answer on the same address range | External port check of the whole range from a non-provider network | Move services to another range or restrict by source |
| Cloud and hosting metadata | Provider consoles, load-balancer names or object-storage URLs expose the backend | Review exposed hostnames in your cloud account | Use private endpoints; keep backends non-public |
| Provider switch leftovers | An earlier provider's records or direct routes were never removed | Compare current records with every provider you have used | Delete old records and routes on cutover |
Closing the paths: allowlist first, then identity
The first fix is a network rule. The origin should accept web traffic only from the addresses your mitigation provider publishes, and drop everything else, at the host firewall and at the network edge where you control one. If an external scan of the origin gets any answer on a web port, the isolation is not in place.
That rule has a known limit. The provider's ranges are shared by all its customers, so an allowlist trusts every tenant. A second control makes your origin accept only requests that carry something your account alone holds. The options are a client certificate presented by the provider to your origin (often called authenticated origin pulls), a secret request header checked at the origin, or a private tunnel that the origin opens outward so that it needs no public address at all. Each has trade-offs: certificates and headers need rotation, tunnels add a dependency on the connector, and a header is only as secret as your logging allows. Choose one, document it and name who rotates it. Provider documentation, including Cloudflare's guidance on protecting your origin server, describes these patterns for its own product; read your own provider's version rather than copying another's.
Then deal with the address itself. If the origin address has been public at any point, assume it is known. Re-address it after the allowlist is in place, not before, so that you never run a new address that is still open. This order is the same one the flagship guide recommends for historic records.
Do not forget non-web traffic
Web mitigation covers web protocols. Game servers, trading gateways, FIX or WebSocket endpoints, SSH, VPN, mail and database ports often sit on addresses that the web layer never touches. An attacker who floods one of them can saturate the same link that your website depends on. For each non-web service, decide whether it needs a public address at all. If it does, it needs its own protection, or its own address range separated from the origin. For admin access, see how the bastion host pattern keeps management paths off the public internet.
Prove it: the sign-off record
An origin isolation claim is only as good as its evidence. Keep a short record with the date and the people who ran it:
- The published hostname list, with where each one resolves.
- The firewall export showing the allowlist and the default drop.
- An external port check of the origin and its neighbouring range, run from a network that is not your provider's, with the result.
- The second control in use (certificate, header or tunnel), its owner and its rotation date.
- The mail, webhook and error-page checks from the matrix, each marked closed or open.
- The list of changes that will trigger a re-check.
If you want an independent party to run the checks, that is a scoped exercise: agree in writing which addresses and hostnames are in scope and what the tester may and may not send. If you buy the external check as a penetration test, compare quotes against what an external penetration testing quote must state. The DDoS stress testing service covers authorised load against the result, and the stress test should include a direct-to-origin attempt only if that is in the agreed rules of engagement.
Limits of an origin exposure check
A clean result shows that the paths on your list are closed today. It does not prove there is no path you forgot, and it does not say anything about volumetric capacity, application-layer abuse or the quality of the provider's filtering. Third parties that hold your address, such as partners that allowlist it, can reveal it without your knowledge. Provider ranges and features change, so re-read current documentation before relying on a pattern. Treat the check as one layer in a wider plan, with a tested runbook and a stress test of the mitigation itself.
Red flags
- The origin answers on a web port when reached by its bare address.
- A hostname such as
direct,originorstagingresolves to the real server. - System emails are sent from the same machine that serves the website.
- The allowlist trusts the provider's ranges and nothing more.
- Nobody owns rotation of the header, certificate or tunnel credential.
- Game, trading or admin ports share the origin's address and are open to the world.
- The last origin check predates the last provider change.
Limitations
This article is not legal or regulatory advice and does not use external statistics or incident case studies. It names no thresholds because the right values depend on your architecture and your provider. Tools, provider features and published address ranges change, so confirm current capabilities before you rely on them, and run any test only on assets you own or are authorised in writing to test.
Decision and next step
If you can list every hostname, show a default-drop firewall with a second identity control, and produce an external port check dated after your last change, your origin is isolated in a way you can show a regulator or a board. If you cannot, work through the matrix and close the first open row. To have the architecture, provider configuration and runbooks reviewed with you, request a fixed quote for DDoS protection from AnySec and tell us your provider, your public hostnames and any non-web services that share the origin's address range. The DDoS Protection page describes how an engagement runs.
Sources and review
The method draws on public vendor and cloud guidance: Cloudflare: Protect your origin server and the AWS Best Practices for DDoS Resiliency whitepaper, read 2026-12-03; check the current versions and your own provider's terms. AnySec prepared the exposure matrix from the public structure of network operations practice; no AnySec-original statistics are used. Author: AnySec Engineering. Published 2026-12-03; reviewed by the AnySec security team.
Related reading
- DDoS protection for casinos and sportsbooks: the four-layer guide — origin isolation as one of four layers.
- DDoS readiness assessment for an online casino — how origin exposure is found in a scoped review.
- DDoS protection services quote: what it must say — the contract lines that cover origin and non-web traffic.
To have origin isolation checked and closed before your next peak, request a fixed quote for DDoS protection.
Frequently asked questions
- What is origin IP exposure?
- It means the real address of your server can be learned or reached by someone who is not supposed to know it. If an attacker can send traffic straight to that address, the DDoS mitigation in front of your hostname is bypassed and your own network link and server take the load.
- If I change the origin IP, am I safe?
- Only briefly. A new address helps if you also stop whatever leaked the old one, and if the origin then accepts traffic only from your mitigation provider. Without a network-level allowlist, the new address can be rediscovered through the same paths, such as mail headers, certificates or sibling hostnames.
- Is a firewall allowlist of the provider's ranges enough?
- It closes the direct path from the internet, but it trusts every customer of that provider, because they share the same ranges. A stronger setup adds something only your account can present, such as a client certificate, a secret header or a private tunnel, so another tenant cannot relay traffic to your origin.
- How do I check my own exposure without attacking anyone?
- Look at your own records and your own address space. Review DNS history, certificate logs, mail headers and the hostnames you publish, and run an external port check against the origin from a network that is not your provider's. Do this only on assets you own, and agree the scope in writing if a third party performs it.
- How often should the origin exposure check be repeated?
- After any change that adds a hostname, a mail or webhook sender, a new server in the same address range, or a provider switch, and before your busiest period. Treat it as a release check, not an annual audit, because each of those changes can reopen a closed path.
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