How to Enable / Disable WAF?

This guide provides simple instructions for enabling and disabling the Web Application Firewall (WAF) in cPFence for OLS/LS.

Enable WAF

To enable the WAF, use the following command:

cpfence --enable-ols-waf

This command activates the latest cPFence WAF for OLS/LS, applying the necessary configurations.

Disable WAF

To disable the WAF, use the following command:

cpfence --disable-ols-waf

This command deactivates the cPFence WAF for OLS/LS and updates the configuration accordingly.

  • enable waf, disable waf
  • 0 utilizatori au considerat informația utilă
Răspunsul a fost util?

Articole similare

How to Enable / Disable WAF Rule by ID ?

This guide provides instructions for enabling and disabling specific WAF rules in cPFence for...

How to Block or Whitelist Certain User Agents ?

This guide will help you block or whitelist specific user agents in cPFence. You can manage these...

How to Identify Problematic WAF Rule IDs in cPFence?

When your website encounters a WAF-related error (typically a 403 Forbidden error), you may need...

Whitelisting and Managing WAF Rules in cPFence

To manage the OpenLiteSpeed (OLS)/LiteSpeed (LS) Web Application Firewall (WAF) through cPFence,...

How to Use the cPFence WAF Testing Tool ?

To manually test the WAF (Web Application Firewall) on your WordPress site, you can trigger...