On-premise DDoS scrubbing with BGP diversion.

Also known as off-ramp and on-ramp, side filtering, sinkhole routing or a clean pipe. When an address is attacked, a Wanguard Filter server announces itself by BGP as the next hop for that address, and only for that address. Your border router hands it the traffic; the Filter drops the malicious packets and sends the rest back into your network over a second interface, a VLAN or a GRE tunnel. Every other address keeps its usual path — and if the Filter server fails, its BGP session drops and routing returns to normal.

Diversion in < 1 s · Packet Filter rules in < 1 s · 10–40 Gbps per server

The border router diverts the attacked address to a Wanguard Filter server by BGP (off-ramp); the Filter drops the attack and returns the clean traffic to the next router (on-ramp)InternetBorder routerdiverts one addressNext routernormal next hopYour networkaddress stays onlineother addresses: usual pathConsoleSensordetects, starts the diversionFilter serverdrops the attack, returns the restWanguard, beside the path: used only while an address is attackedflows · packetsBGPoff-rampon-ramp
  1. A Sensor detects the attack and names the attacked address.From flows or packets, in seconds.
  2. Off-ramp: the Filter server announces that address.A host route with itself as next hop; the border router diverts the address’s traffic to it in under a second.
  3. The Filter drops what matches the attack.In the kernel firewall, in the network card or in DPDK. Only the malicious packets are discarded.
  4. On-ramp: the clean traffic goes back.Over a second interface, a VLAN or a GRE tunnel to the next router. The route is withdrawn when the attack ends.
flows and packets to the SensorBGP diversion announcementthe attacked address, divertedclean traffic returned

What you need

This is the method that needs a server sized for the attack. In return it keeps the attacked address online whatever your routers can or cannot do.

ComponentWhat it does hereLicense
Flow Sensor or Packet SensorDetects the attack and starts the diversion.$595 / year
Packet FilterOn the scrubbing server: inspects the diverted packets and writes rules for anything it sees in them, payloads included. It needs a dedicated server with a supported network card.$995 / year for each interface it cleans, plus a DPDK Engine license on DPDK
or a Flow FilterTakes its rules from a Flow Sensor’s flows and applies them on the scrubbing server, in the kernel firewall or in the network card’s own filter. The server can be modest.$995 / year
ConsoleRuns the response and shows what was dropped, rule by rule.free
BGP ConnectorAnnounces the diverted address through FRR, ExaBGP or GoBGP.free
On your networkA BGP session that accepts host routes from the Filter server, and a way back for the clean traffic that the diversion does not catch again: a VLAN shared with the next router, a GRE tunnel, policy-based routing or two VRFs.none

Reference servers for a Packet Filter: a 10-core Xeon with 8 GB of RAM for 10 Gbit/s, a 14-core Xeon with 32 GB for 40 Gbit/s, with a Chelsio T5+, an Intel X520 or XL710, or another DPDK-supported card. Build your own appliance →  ·  Full system requirements →

Diverted only while attacked, filtered where it is fastest

The Filter server stands beside the traffic path, not in it. On a quiet day nothing is routed through it.

Only the attacked address moves

The diversion is a host route for the address under attack, marked no-advertise or no-export so that it never leaves your network. Traffic to everything else keeps its usual path, so the server is sized for attacks and not for your total traffic. If the server stops, its BGP session drops and the router goes back to the normal route.

Traffic diversion, in the docs →

Three places to drop a packet

The Linux kernel firewall is the most flexible: it filters on everything a Filter can detect, country and payload included, and it can rate-limit. The network card’s own filter drops at wire speed without using the CPU, on Chelsio, Mellanox and Intel cards. The built-in DPDK firewall takes the kernel out of the way for the highest packet rates.

The Packet Filter, in the docs →

A record of what was dropped

The anomaly report shows the traffic that reached the Filter and the part it blocked, rule by rule. A Packet Filter can also keep a capture of the packets each rule matched: evidence for the customer, or for a complaint to the network they came from.

The Firewall report, in the docs →

When one server is not enough, several Filter servers share the diverted traffic behind equal-cost multipath routing or a load balancer. When the attack is larger than your uplinks, the same response can blackhole it.

Where scrubbing by diversion fits

It keeps the attacked address online with rules that only a server can apply, and it stays out of the way until it is needed.

A good fit

It fits when

  • The attacked address must stay online, and your routers have no Flowspec or the attack needs rules that Flowspec cannot express.
  • Attacks are smaller than your uplinks, but large enough to hurt what is behind them.
  • You want no new device in the path of normal traffic, and no single point of failure.
Another method

Look at another method when

  • The flood is larger than your uplinks or than your scrubbing servers: blackhole it upstream, automatically, from the same response.
  • Your routers speak Flowspec and the attack is simple to describe: Flowspec needs no scrubbing server.
  • You protect one link and would rather not touch BGP: in-line mitigation needs no diversion and no return path.

The other solutions

Most networks use more than one: a single response can filter an attack first and blackhole it only when it outgrows the filter.

First, always

DDoS detection

Know within seconds who is attacked, by what and how hard. Every method here starts from a Sensor’s anomaly.

Fits when: you want to know first, or someone else does the mitigation.
At your upstreams

BGP blackholing (RTBH)

Your upstream providers null-route the attacked address. It goes offline; the rest of the network stays up.

Fits when: the attack is bigger than your links.
On your routers

BGP Flowspec

Your edge routers drop only the traffic that matches the attack. Nothing is added to the traffic path.

Fits when: your edge routers support Flowspec.
On a server in the path

In-line mitigation

A Wanguard server bridges or routes the link and filters attacks as they pass, with no BGP.

Fits when: you protect one site or a few links.

All solutions, side by side →  ·  Pricing →  ·  Choosing a method of DDoS mitigation, in the docs →

Try the full product on your own hardware

Every feature, any number of servers, 30 days — by requesting a free evaluation license. Our engineers help you set it up.

Request a trial key
Debian 11–13Ubuntu 20–26RHEL 9–10RockyAlmaLinux
1

Request a key

Fill in the trial form. We review it and email download links, documentation and a 30-day license within 24 hours.

2

Install on a spare Linux server

Any 64-bit Intel/AMD box or VM. Packages install under /opt in minutes; size the hardware with the system requirements.

3

Run it for real, then buy

Ask us anything during the trial. When it earns its keep, buy licenses in the online store — the trial installation carries on with the new key.

Already running Wanguard?

The latest release is Wanguard 9.0. Upgrading from 8.x? Read the release notes first.