---
title: Use Aegis with Spectrum · Cloudflare Aegis docs
description: Spectrum allows you to route email, file transfer, games, and more
  over TCP or UDP through Cloudflare. This means you can mask your origin and
  protect it from DDoS attacks.
lastUpdated: 2025-01-09T10:16:22.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/aegis/configuration-options/spectrum/
  md: https://developers.cloudflare.com/aegis/configuration-options/spectrum/index.md
---

[Spectrum](https://developers.cloudflare.com/spectrum/) allows you to route email, file transfer, games, and more over TCP or UDP through Cloudflare. This means you can mask your origin and protect it from DDoS attacks.

While you can use [BYOIP](https://developers.cloudflare.com/byoip/) or static IPs to control which IPs are used for ingress with Spectrum, Aegis allows you to have a more strict list of [egress IPs](https://developers.cloudflare.com/aegis/about/) as well.

```mermaid
flowchart LR
        accTitle: Cloudflare as a reverse proxy
        accDescr: Diagram showing Cloudflare's network between clients and the origin server.
        A[Client] --ingress--> B((Cloudflare))--egress--> C[(Origin server)]
```

Aegis with Spectrum supports both TCP and UDP application types. HTTP/HTTPS types are also supported, although through a different configuration.

If you are interested in any of these solutions, contact your account team.
