"Real" Visitor IP Logging Print

  • cloudflare
  • 85

With CloudFlare, all traffic to your customers' websites will be coming from CloudFlare IP addresses. To maintain the visitor's true IP address for web server logs and web applications, you should setup the proper module below for your web server.


Apache httpd: mod_cloudflare

CloudFlare has provided an open source module for Apache httpd 2.2 and 2.4 to restore the original visitor IP address to logs. 
Download & Instructions »

Microsoft IIS

CloudFlare has provided an open source module for Microsoft IIS version 7, 7.5 and 8 to restore the original visitor IP address to logs. 
Download & Instructions »

nginx (third-party developed)

CloudFlare recommends using the third-party HttpRealIPModule for nginx to restore the original visitor IP address to logs. 
Download & Instructions »

Others

For other web servers, please review the relevant knowledge base section.


Was this answer helpful?

« Back