Copy comment from Github:
@kusattapan while implementing the IP transformation from CloudFare we’ve realised that it’s not a good idea to do it in Perfecty Push itself. Apart from the many different CDNs on the market different than CloudFare that we would have to support, there’s the security aspect for each of them that makes it out of the scope of the plugin (like keeping an updated list of approved ip ranges from the different providers for example). This is not only a problem that only affects Perfecty Push, but instead it’s a better solution to do it in front of the application itself (e.g. mod_remoteip/mod_cloudflare). Furthermore, how are you doing it for the other parts of your website where the IP is being logged/monitored (like Apache access logs/WAF/Load Balancer)?
That being said, we’re sorry but we will need to close this. As mentioned above, in case there’s any need to do any IP transformation, it will need to happen before our plugin.