How to use BitNinja with CDN or Proxy

You are here:
Estimated reading time: < 1 min

If You use any kind of CDN or Proxy service BitNinja will see the IP address of the CDN or proxy server only. This is because every request is coming from the CDN server. There is a module that lets BitNinja to see the real IP address behind the mentioned CDN or proxy servers.

We recommend enabling the WAF module, as the Trusted Proxy module was designed to work together with the WAF module. And it also provides great protection against hackers and bots.

After the X-Forwarded-For header or the Transparent proxy mode in the WAF module is set up you need to add the CDN Provider’s IP ranges from the Dashboard at the Trusted proxy menu point.

– You need to add a comment to the IP range(s) added to the Trusted proxy module
– You can add multiple IPv4 ranges by separating them with a comma and space

You need to set up the X-Forwarded-For header and enable the Trusted proxy module from the Dashboard and add your CDN provider’s IP ranges on the Dashboard.

In the X-Forwarded-For header

– If your server has multiple IP addresses enter the IP addresses separated by colon and space.
– If your server has a CIDR or multiple CIDR you can add them the same way with the prefixes included (IP address/X).
Views: 57