Fine-tune Anti-DDoS protection with profiling
Apply a network traffic profile and sensitivity level to your IP addresses to fine-tune VAC DDoS protection
The profiling feature is in Beta. The feature set, profile names and limits may still change slightly before general availability.
Objective
VAC DDoS protection shields every OVHcloud service by default, with no configuration and no extra cost. VAC is a core part of the OVHcloud Anti-DDoS infrastructure: a combination of technologies, continuously developed by OVHcloud, that filters incoming traffic so that only legitimate packets reach your server. Detection works from the shape of your traffic — packet rates, connection turnover, sudden changes in volume, or known traffic signatures.
Generic detection works well for most protected applications, but it can still misread some more specific yet legitimate workloads: a busy WireGuard tunnel looks like a UDP flood, and live-event audience spikes look like a volumetric attack.
The profiling feature lets you describe such services more precisely instead of working around the protection. Pick a profile from the catalogue, choose a sensitivity level, and attach your services. One change to a policy re-tunes every address attached to it. If your workload changes, switch profiles or adjust sensitivity.
In this guide, you will learn how to:
- recognise when your workload needs a profile.
- activate profiling on your account and create a policy.
- apply a policy to your IP addresses and understand its status.
- adjust, disable or delete a policy, and judge its effect.
Requirements
- At least one OVHcloud service with a public IPv4 address.
- Access to the .
Instructions
Contents:
- Why protection may need fine-tuning
- How profiling works
- Step 1 — Activating profiling
- Step 2 — Creating a policy
- Step 3 — Adding your IP addresses
- Reading the statuses
- Managing your policies
- Monitoring the effect of a policy
- Limitations
- Troubleshooting
Why protection may need fine-tuning
There are two main situations where you may want to tune the default settings:
False positives are the more common case, and a few workloads account for most of them: VPN tunnels, whose UDP packet rates run high; Blockchain/Solana nodes, which use wide port ranges with constant peer turnover; live streaming and voice, which face sudden legitimate audience surges; and web services during a launch or a sale.
Create a policy if any of these situations applies:
- Legitimate traffic is being mitigated and you have been working around it — forcing TCP mode on a VPN, lowering the MTU, or opening a support ticket after each incident.
- You are preparing for a known traffic spike, such as a live event or a product launch.
- You are running an application whose traffic is structurally unusual, and you prefer to declare it in advance rather than wait for the first false positive.
- An attack was mitigated, but not thoroughly enough, and you want detection to react sooner.
If none of these applies, no change is needed: your services stay protected by default.
How profiling works
You create policies. A policy pairs a network traffic profile with a sensitivity level, and applies to the public IPv4 addresses or blocks you add to it.
Network traffic profiles
OVHcloud develops and maintains the specific network traffic profiles: when creating a policy, select the one that best matches your workload.
On Bare Metal Game servers, we recommend not combining profiling, especially the Game Server profiles (Generic, Generic UDP and Generic TCP), with IP addresses protected by a Minecraft Java Game DDoS Protection rule. Doing so may affect the quality of the overall protection.
Getting the best results from a profile
To get the best results from some profiles:
- VPN - WireGuard: run WireGuard on its default port, UDP 51820. This avoids losing legitimate traffic during an attack.
- VPN - OpenVPN: run OpenVPN on its default ports, UDP 1194 and TCP 443. If you do not need the TCP fallback, block that traffic with the Edge Network Firewall.
- WebServer - Generic: do not use it if the server also receives UDP traffic. QUIC (HTTP/3) is not supported yet: QUIC traffic is discarded during an attack.
- Generic - Proxied TCP: choose this profile, rather than WebServer - Generic, when an external CDN or reverse proxy hosted outside OVHcloud sits in front of a web server running at OVHcloud. The origin then receives many connections from a small set of CDN edge addresses, and this profile expects that pattern instead of flagging those addresses as attackers.
- Blockchain - Solana: during an attack, mitigation avoids affecting legitimate Solana traffic. The trade-off is that highly targeted attacks may let more malicious traffic through to the server.
Sensitivity
Sensitivity sets where the policy sits on the trade-off between mitigating too much and mitigating too little. The levels available depend on the profile.
One policy per IP address
An IP address is covered by only one policy. If a block is attached to one policy and an address inside it to another, the most specific entry wins. For example, if 203.0.113.0/24 is attached to a WebServer - Generic policy and 203.0.113.10 to a VPN - WireGuard policy, then 203.0.113.10 uses the VPN - WireGuard policy and the rest of the block uses the WebServer - Generic policy.
A policy's settings are kept for an Additional IP address as it moves between your services. They are reset only when the address changes owner or its service is terminated.
Step 1 — Activating profiling
Activation is needed only once per account.
-
Log in to the .
-
During the Beta, click
Discover the console >BETA_in the top-right corner. -
In the side menu, go to
Security>Anti-DDoS, then open theProfilingtab. -
Click
Activate profiling.Follow the instructions displayed, if any, to complete the activation. No amount is charged.
Once activation is complete, the Profiling tab lists your defined policies. Activating profiling does not change the protection settings of any IP address until you add it to a policy.
Step 2 — Creating a policy
- In the
Profilingtab, clickCreate a policy. - In the
Namefield, enter a name that identifies the workload, for examplevpn-concentrators. - In the
Network traffic profilelist, select the profile that matches your workload. Its description is displayed below the list. - Set the
Sensitivity. Start withMediumunless you already know which way the protection needs to move. - Click
Create policy.
You add IP addresses once the policy exists. Until then, the policy has the status Not configured: it does not apply to any address yet.
Step 3 — Adding your IP addresses
- In the policy list, click the policy name, or click the
...button at the end of its row, thenEdit. - In the
Targetssection of theEdit policypanel, click theAdd an IP…field. The list shows the IP blocks and individual IP addresses available on your account. Type the beginning of an address to filter the list. - Select an address, or a whole block. If your servers sit in a contiguous block, add the block rather than each address.
- After selecting an IP block, you can modify the selection in the input field: instead of the whole block, type one of its subnets or a single IP address from that block.
- Repeat for each address or block, then click
Save changes. A confirmation message is displayed.
From then on, VAC DDoS protection for that address follows the policy's profile and sensitivity instead of the generic settings. The change happens in the background: the address is marked Pending until it is applied, then the badge disappears.
If an address you add already carries legacy Anti-DDoS settings that were not set by a policy, such as custom settings applied by OVHcloud support teams, a Legacy Anti-DDoS settings detected window opens when you save. To apply the policy anyway, tick the I understand box, then click Overwrite and save. This way you gain control over the IP's protection settings and can change them using the latest profiling options.
Overwriting legacy settings is irreversible: they cannot be restored afterwards. If you later disable the policy, the address returns to the default VAC DDoS protection, not to its previous settings.
Reading the statuses
The policy list shows, for each policy, its network traffic profile, sensitivity, number of IP addresses, last attack detected and status. You can filter it by profile, sensitivity and status.
Managing your policies
Each policy has an actions button (...) at the end of its row in the policy list, with the following options:
Monitoring the effect of a policy
A policy changes which traffic gets mitigated, so judge it by comparing mitigation activity before and after applying it.
In the OVHcloud Console (during the Beta, open it with the Discover the console >BETA_ button in the top-right corner), go to Security > Anti-DDoS. The Dashboard tab lists the attacks detected on your addresses, and, during detection events, the Traffic tab shows the legitimate traffic of the address you select, along with the traffic filtered during mitigated attacks. A policy that does its job filters less traffic during legitimate peaks, and no less during genuine attacks. For more information on the attacks detected on your services, see Monitor DDoS attacks with the Anti-DDoS dashboard.
If a profile does not behave as expected, tell us with the Do you like it? link at the top of the Profiling page. During the Beta, that feedback is how the catalogue improves.
Limitations
Troubleshooting
If a profile is applied and the problem persists, a traffic capture (pcap) of the affected flows will help support analyse it.
Go further
Monitor DDoS attacks with the Anti-DDoS dashboard
Enabling and configuring the Edge Network Firewall
Join our community of users.