Cloudflare Demo Shop

Spectrum

Reverse-proxy and DDoS protection for any TCP or UDP service — gaming, SSH, IRC, FTP, custom protocols. Same security stack Cloudflare runs for HTTP, extended to every port.

How do you protect non-HTTP services with the same rigor as your website?

Gaming servers, SSH bastions, IMAP/SMTP relays, MQTT brokers, financial-trading endpoints, custom binary protocols — none of these speak HTTP, so a regular CDN/WAF doesn't help. They sit on public IPs absorbing DDoS, exposing their real addresses to attackers, and giving you little ability to apply security policy without a network appliance per protocol.

How it fits together

Diagram coming soon

Architecture diagram for this solution will be added here.

How Cloudflare solves it

Common questions

Do I need to use Cloudflare DNS to use Spectrum?
Yes — Spectrum needs to control the public IP that resolves to your service. Move the relevant DNS records to Cloudflare and Spectrum takes over the IP layer.
How is this different from Magic Transit?
Magic Transit operates at the L3 network layer (BGP-routed prefixes — your entire network range). Spectrum is L4 reverse proxy (per-service: specific TCP/UDP ports). Use Magic Transit when you own and announce your own IP space; use Spectrum when you want per-service protection without operating BGP.
Can I use Spectrum for SSH or RDP without exposing them to the internet at all?
You can — but for SSH/RDP, most customers prefer Cloudflare Access for Infrastructure (Zero Trust), which keeps the service behind an identity check rather than just IP-cloaking. Spectrum is right when you need protocol-native access (e.g. a CI runner using a real SSH key) plus DDoS protection.
Does Spectrum break protocols that need the client's real IP?
For TCP, Cloudflare can prepend PROXY protocol headers so your origin still sees the real client IP. For UDP-heavy gaming, similar mechanisms exist. Most protocols are fine, but it's something to test during setup.

Try it live

Demo coming soon

An interactive demo for Spectrum is being built. In the meantime, check the "Dive Deeper" section below for the official docs and product blogs.

Docs & blogs

← Back to all solutions