Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

How DDoS filtering works

What the DDoS filtering included with every CloudSat server covers, what you handle on your side, and what to do and send us during an attack.

CloudSat teamUpdated Nov 18, 20263 min read

Every CloudSat server, in every region, sits behind network-level DDoS filtering. It is included in the plan price and active from the first boot: there is nothing to switch on and no charge per attack. This page explains what it stops, what it cannot stop, and what to do when your server is under attack.

What the filtering covers

The filtering targets volumetric floods: attacks that try to fill the network in front of your server, such as UDP floods and reflection or amplification attacks. That traffic is filtered at the network edge, before it reaches the host.

Some attacks look like ordinary users to the network, so they reach your server:

  • HTTP floods and abusive bots that send valid-looking requests.
  • Brute force against SSH, RDP or a login page.
  • Slow connections that tie up a web server.

You handle those with firewall rules, rate limits, hardened services and, for busy public sites, a CDN. No filter can promise to stop everything: a very large flood, or one that imitates real traffic, can still slow a service down.

Harden a server in five steps

  1. Attach a cloud firewall that allows only the ports you serve. Anything not listed is dropped before it reaches the server. See Create and apply cloud firewalls.
  2. Limit SSH (22) or RDP (3389) to your own address in the rule's Sources field.
  3. Keep SYN cookies on, so a SYN flood on an open port does not fill the connection queue. This command should print net.ipv4.tcp_syncookies = 1:
sysctl net.ipv4.tcp_syncookies
  1. Sign in with SSH keys and ban repeated failures with fail2ban (apt-get install -y fail2ban). See Add and use SSH keys.
  2. Rate-limit requests in your web server (for example limit_req in Nginx). For a public website, put a CDN in front and allow ports 80 and 443 in the cloud firewall only from the CDN's published address ranges, so a leaked origin address leads nowhere.

During an attack

  1. Look at the server. If it is overloaded, top and ss -s show where the load comes from. If it is idle while users cannot reach it, the problem is in front of it.
  2. Check the status page for an incident in your region.
  3. Open a ticket: in the console, click Support, then New ticket, and choose the category Network or IP. Select the server, set the Priority (for example Urgent: production is down), and include:
    • the time the problem started, with its time zone;
    • the ports or services affected;
    • a sample source address if you have one, and the output of ss -s or mtr from your side.
  4. Engineers answer tickets 24/7. While you wait, close every port you do not need in the firewall.

For services that must stay up through an attack, keep a second server ready in another region and switch DNS to it. A floating IP cannot help across regions: it only moves between servers of the same region.

The SLA and attacks

The service level agreement does not count downtime caused by attacks that exceed the filtering included with the service. Keep that in mind when you plan a service that attracts attacks, such as a popular game server.

Do not aim floods at others

The acceptable use policy forbids denial-of-service attacks, including "stress testing" of systems you do not own, and scanning or brute-forcing systems without permission. Load tests against your own servers and applications are fine. An attack launched from a compromised server is treated as abuse even if you did not intend it, so keep your software updated.

Tips

  • Game servers attract floods: open only the game port, and limit remote admin ports such as RCON to your own address.
  • WireGuard does not answer packets without a valid key, so a VPN endpoint shows scanners almost nothing.
  • If you suspect real visitors are being dropped, open a ticket with the time, the ports and a sample source address so an engineer can check.