Knowledge Base›WEDOS Protection›WAF and Combo Rules

Protection – WAF and Combo Rules

In questa paginaWAF and Combo RulesWAF and Combo Rules SetupCombo Rules Use Cases and ExamplesFAQ

This article deals with the WAF (Web Application Firewall) and Combo Rules features of WEDOS Protection. For single-dimension rules see Filters and GeoIP.

In this article, you will learn:


WAF and Combo Rules

The WEDOS Protection Web Application Firewall (WAF) inspects incoming HTTP/HTTPS requests at the proxy layer and blocks those that match known attack patterns (SQL injection, XSS, RCE, path traversal, and other OWASP-class threats) before they reach your origin server. The WAF works alongside Filters and GeoIP, e Modalità AI protection that runs across the entire WEDOS Protection network.

Combo Rules sit on top of the WAF and let you define advanced, combined L3–L7 rules per domain. Each rule matches multiple conditions at once (IP/ASN, Geo, Path, User-Agent, JA4, JA4H, HTTP method, HTTP version), and the first matching rule wins. Combo Rules are useful when a single filter is not specific enough — for example, when you want to allow a known crawler ASN only on a specific path, or block a particular TLS fingerprint coming from a single country.

The WAF and Combo Rules complement, but do not replace, Filters and GeoIP. I filtri e le regole GeoIP sono pensati per la protezione su una sola dimensione, mentre le Combo Rules servono per scenari più complessi. Inoltre AI Mode continua a funzionare in parallelo e non può essere disattivata.


WAF and Combo Rules Setup

For the Start and Advanced subsription plans, WAF runs in Modalità AI only and Combo Rules are not available. To have access to WAF Mode selection and Combo Rules upgrade to the Expert plan.

To access the settings, follow these steps:

  1. Log into the WEDOS Global admin panel ⧉.
  2. Select a domain (or template) to set up.
  3. In the left menu, click WAF.
WAF settings overview in the WGP dashboard
WAF settings overview in the WGP dashboard

WAF Mode

The WAF Mode selector controls the ruleset used by the Web Application Firewall for the selected domain. Three modes are available:

  • Advanced WAF (full ruleset) — default: Runs the complete WAF ruleset, including core protections and extended signatures for application-layer attacks. Recommended for most websites and applications.
  • Basic WAF (core rules only): Runs only the core ruleset. Useful when the full ruleset causes false positives on a legitimate but unusual application, and you need a smaller, more conservative set of signatures.
  • Disabled: Turns off WAF rule evaluation entirely. AI Mode, Filters, GeoIP, and Combo Rules remain active.
WAF Mode selector with the three available modes
WAF Mode selector with the three available modes

Setting WAF Mode to Disabled only turns off the WAF rules. It does not disable AI Mode, Filters, GeoIP, or Combo Rules. Only disable the WAF if you have a specific reason — for example, while troubleshooting false positives.

Combo Rules

Combo Rules are advanced combined L3–L7 rules. Each rule matches on multiple conditions, and the first matching rule wins. Ordina le regole dalla più specifica alla più generale: ad esempio prima le regole di autorizzazione per i crawler affidabili, poi un blocco generale in fondo.

Combo Rules run alongside AUTO AI, che valuta sempre il traffico in background. AUTO AI non può essere disattivata.

Combo Rules list with AUTO AI and Custom Combo Rules enabled
Combo Rules list with AUTO AI and Custom Combo Rules enabled

Azioni

When a Combo Rule matches, one of the following actions is applied:

  • Allow access / Whitelist: Ignora tutti i livelli di protezione e consegna la richiesta direttamente al server di origine. Usalo solo per traffico affidabile e ben identificato (ad es. un sistema di monitoraggio interno verificato).
  • Verifica CAPTCHA (Proof of Work): Serve a Proof of Work / bot challenge before allowing the request through.
  • Blocca con pagina di errore (HTTP 456): Blocca la richiesta e restituisci un customizable error page with HTTP status 456.
  • Blocca silenziosamente (scarta il traffico): Silently discard the request. The client receives no response. Useful against attack traffic where you do not want to confirm the request reached a server.

Matching fields

Each Combo Rule can match on up to nine fields. Any field can be left empty to act as a wildcard, and any field can be negated (using a ! prefix where supported, such as !as55789). For a rule to fire, all active fields must match.

  • IP/ASN: Source IP address, CIDR range, or Autonomous System Number. Multiple values can be entered as a comma-separated list (e.g. 1.2.3.0/24, as12345, !as55789).
  • Geo: Country or continent code, as used by GeoIP.
  • Path: URL path on the domain (e.g. /admin/login). Supports exact and prefix matching depending on the selected Mode.
  • User-Agent: Value of the User-Agent HTTP header (e.g. googlebot). Supports exact and substring matching depending on the selected Mode.
  • JA4: JA4 TLS fingerprint of the client. Useful for matching a specific client TLS stack independently of its self-declared User-Agent.
  • JA4H: JA4H HTTP fingerprint of the client. Useful for catching bots that mimic a browser at the TLS layer but expose themselves at the HTTP layer.
  • Method: One or more HTTP methods, comma-separated (e.g. GET, POST).
  • HTTP version: HTTP protocol version of the request (e.g. HTTP/1.1, HTTP/2, HTTP/3).
Finestra di dialogo Add Combo Rule con tutti i campi di corrispondenza e il selettore Action
Finestra di dialogo Add Combo Rule con tutti i campi di corrispondenza e il selettore Action

Aggiungere una Combo Rule

To add a new Combo Rule, follow these steps:

  1. Make sure the Custom Combo Rules toggle is enabled.
  2. Click the Add Combo Rule button.
  3. Select the Azione to apply when the rule matches.
  4. Fill in only the matching fields you need. Leave the rest empty to act as wildcards.
  5. Make sure the Attivo toggle is on, then click Submit.

Each rule in the list can be edited or deleted from the actions column. Use the Attivo indicator to enable or disable individual rules without deleting them.

Combo Rules are evaluated in order, e vince la prima regola corrispondente. Posiziona le regole più specifiche (ad es. consentire uno specifico ASN su un percorso specifico) sopra quelle più generali (ad es. bloccare un intero paese).


Combo Rules Use Cases and Examples

Combo Rules are most useful when no single filter is specific enough. Some common scenarios:

Whitelist a known crawler by ASN

Goal: Allow Googlebot traffic to pass without challenges, even if other rules would otherwise block it.

Setup: Azione Allow / Whitelist, IP/ASN as15169, User-Agent googlebot. Posiziona questa regola sopra qualsiasi regola di blocco.

Restrict an endpoint to POST-only

Goal: An API endpoint should only accept POST requests; everything else is unwanted.

Setup: Azione Blocca con pagina di errore (HTTP 456), Percorso /api/submit, Metodo GET, PUT, DELETE, PATCH, HEAD, OPTIONS. Le richieste che usano POST non corrisponderanno e proseguiranno normalmente.

Challenge a country on a sensitive path

Goal: Allow normal browsing from a country but challenge anything trying to access the admin panel.

Setup: Azione Verifica CAPTCHA (Proof of Work), Geo cz, Percorso /admin/login.

Silently drop a known attack fingerprint

Goal: Drop traffic matching a JA4 fingerprint observed in a previous attack, without giving the attacker any feedback.

Setup: Azione Blocca silenziosamente (scarta il traffico), JA4 t13d1516h2_8daaf6152771_....


FAQ

What happens if I disable the WAF?

Only the WAF ruleset is turned off. AI Mode, Filters, GeoIP e Combo Rules continuano a funzionare. Il tuo dominio è comunque protetto, ma senza le regole a livello applicativo basate sulle firme: per questo consigliamo di disattivare il WAF solo temporaneamente, ad esempio durante la risoluzione di un falso positivo.

When should I use Basic WAF instead of Advanced WAF?

Use Basic WAF only if the Advanced ruleset causes false positives on a legitimate application that you cannot adjust at the source. The Basic ruleset is more conservative and applies only the core rules. For most websites and APIs, the default Advanced WAF is the right choice.

How does rule ordering work?

Combo Rules are evaluated from top to bottom, and the first matching rule wins. Posiziona le regole specifiche (come quelle che consentono crawler affidabili o IP attendibili) in cima all’elenco e quelle più generali (come i blocchi per intero paese o i rifiuti generalizzati) sotto di esse.

Do I need to fill in every field in a Combo Rule?

No. Any field left empty acts as a wildcard. A rule with only Geo = cz set matches all traffic from Czechia, regardless of IP, path, user agent, method, or version. For a rule to fire, all filled-in fields must match.

Can I negate a value in a Combo Rule?

Yes. Fields that accept comma-separated lists (such as IP/ASN) support negation with a ! prefix — for example, as12345, !as55789 matches AS12345 but explicitly excludes AS55789.

How are Combo Rules different from Filters?

Filters match on a single dimension at a time (one IP list, one ASN list, one User-Agent list, and so on). Combo Rules combine multiple dimensions into a single rule, so you can express conditions like “only this ASN, only on this path, only with this method” that a single filter cannot.

Can AUTO AI be turned off for Combo Rules?

No. AUTO AI is always enabled and runs in parallel with your Custom Combo Rules. You can add your own rules in custom mode, but the AI cannot be disabled.

Questo articolo le è stato utile?

Il suo giudizio ci aiuta a migliorare i nostri articoli.

Il suo messaggio viene letto dal team della documentazione, che però non risponde. Se ha bisogno di aiuto, contattici tramite il modulo di contatto. Non inserisca password né dati personali.

Didn’t find what you were looking for?

Send us your question using the contact form.