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.