Legitimate visitors or pages are being blocked by the firewall. How do I add these to the whitelist?
Our whitelist feature makes it easy to whitelist specific requests.
To manage the whitelist:
- Log in to the Patchstack App
- Go to Sites > yourdomain.com > Protection > Additional settings
- 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, the 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.