What is a WAF and what difference does it have with a normal firewall?

Published on 2026-10-20 by frfrand

What is a web application firewall, how it filters HTTP requests, false positives, and why it does not replace fixing vulnerabilities.

What is a WAF and what difference does it have with a normal firewall?

Short answer: a WAF (Web Application Firewall) is a firewall specialized in web traffic: it examines HTTP requests and blocks known attack patterns, such as certain injections. A network firewall, on the other hand, decides based on IP, port, and protocol. The WAF reduces risks, but does not replace fixing application vulnerabilities.

Its acronym stands for Web Application Firewall. Unlike a basic network filter that works with addresses, ports, and protocols, a WAF can examine characteristics of HTTP requests and apply rules related to web attacks.

It is not an antivirus for your page nor a guarantee that any vulnerability is covered.

The access control example

Imagine a building with a guarded entrance door. General control checks through which door a person arrives and if that door is open. An additional filter can review certain characteristics of what they try to introduce into the building.

The comparison helps to understand the difference between a network firewall and one oriented to applications. Both can be combined.

What can a WAF recognize?

Depending on the product and its configuration, it can identify patterns associated with certain injection attempts, exploitation of known flaws, automated traffic, or anomalous requests.

Many systems use managed rules, scores, and signals about the request. That does not mean they can perfectly understand user intent or always distinguish a malicious request from a legitimate one.

An aggressively configured WAF can block correct forms or API requests that use uncommon parameters.

Where is it installed?

It can work on a protection service in front of the origin, on a proxy, or at other entry points. Position matters: if someone can still access the server directly, bypassing the protective layer, part of the traffic will not pass through it.

You also need to define how to correctly obtain the visitor's IP when there are intermediate proxies. Blindly trusting any header sent by the client can lead to wrong decisions.

WAF vs firewall vs rate limiting

The network firewall controls connections based on network rules. The WAF analyzes signals related to web application requests. Rate limiting restricts the request rate under certain conditions.

They are not the same, but they can work together. An authentication API may need all three, in addition to input validation and access controls.

Does it protect against SQL injection or XSS?

It can block certain known patterns, but it does not replace writing parameterized queries or properly escaping data in the output context.

If an application contains an authorization flaw that delivers one user's data to another, a WAF may not have enough context to recognize it. Real security still requires fixing software defects.

What are false positives?

A rule detects something suspicious and blocks traffic that was legitimate. This can happen when a user enters code on an educational platform or sends a parameter that looks like an injection, even though it is allowed content.

That is why rules must be observed, adjusted, and tested before activating them with overly strict policies. Protection that prevents using the product also causes problems.

How do you know if it works?

Check blocking events, affected routes, HTTP codes, and trends. Test in an authorized environment the behaviors it should block and the legitimate requests it should allow.

Do not base security on a single "threats blocked" counter: some products count harmless automated traffic within their metrics.

What about ArduMaker?

As of November 2026, ArduMaker does not have an option to configure WAF rules for your application. If you need them, you can place a WAF service in front of the domain or a WAF module in your VPS's nginx, and manage its rules yourself.

Two details of the platform matter for the WAF position. Websites enter through the host's nginx, which passes your VPS the visitor's real IP in the X-Real-IP header. And the ports you expose with TCP/UDP redirects arrive directly, without going through that path or through a WAF placed in front of the domain: for those ports there is the IP policy, which an admin can limit by port or for the entire VPS.

The final idea: a WAF can reduce risks at the entry of a web application, but it does not replace the server firewall, permission control, or security fixes.

Frequently asked questions

What is the OWASP Core Rule Set? An open set of generic rules for WAFs compatible with ModSecurity and other engines. It detects common attack families and is adjusted with paranoia levels to balance protection and false positives.

Is it advisable to start in detection-only mode? Yes. Logging without blocking for a while allows you to see which legitimate requests would trigger rules before enabling blocking.

Related: What is a firewall and how to protect server ports.

Sources: OWASP Web Application Firewall · OWASP Core Rule Set.

What is a WAF and what difference does it have with a normal firewall?
  • WAF
  • seguridad web
  • HTTP

Keep reading

All articles · VPS plans