Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet.

Skip to content

How to configure Patchstack to work with Cloudflare?

The following steps should only be taken if your site is properly configured behind a Cloudflare proxy. On misconfigured sites, this could allow for IP address spoofing to exist which could potentially lead to a DoS attack

In order for Patchstack to properly work with Cloudflare, we recommend that you configure the IP address header override option.

  1. Go to Patchstack App > Sites > yourdomain.com > Protection > Additional settings
  2. To the IP Address Header Override input, type HTTP_CF_CONNECTING_IP
  3. Save the settings
This will tell Patchstack to grab the real visitors' IP addresses.

Cloudflare supports only TLS 1.3 by default. To use Patchstack, additional support for TLS 1.2 is required. To add support for this TLS version in Cloudflare:

  1. Login at Cloudflare, and click on your domain name
  2. In the menu, go to SSL/TLS > Edge Certificates
  3. Scroll down to the “Minimum TLS Version” section
  4. Ensure that it is set to at least TLS 1.2 or lower

Sometimes due to specific settings in Cloudflare, you may need to whitelist Patchstack’s IP addresses. Click here to see all the IP addresses that Patchstack servers use.

In case there are still problems with connecting Patchstack, an additional Cloudflare rule that might work is to pass the request if the query string contains “_wcb” or query parameter “_wcb” is set.

1