Legitimate visitors or pages are being blocked by the firewall. How do I add this to the whitelist?

Our whitelist feature makes it easy to whitelist specific requests.

To whitelist:

  1. Log in to the Patchstack App
  2. Go to Sites > yoursite.com > Hardening
  3. Scroll down to Whitelist text field

This text field supports a specific syntax that you can use to whitelist specific requests. Each definition must be placed on its own line.

We accept the following parameters in this text field:

Parameters
IP:IPADDRESS
PAYLOAD:someval
URL:/someurl

Definitions
IP = firewall will not run against the IP
PAYLOAD = if the entire payload contains the keyword, the firewall will not proceed
URL = if the URL contains the given URL, firewall will not proceed

Example
IP:192.168.1.1
PAYLOAD:contact_form
URL:water
URL:/some-form

In this scenario, the firewall will not run if the IP address is 192.168.1.1 or if the payload contains contact_form or if the URL contains water or if the URL contains /some-form.


Did this page help you?