PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

CloudFlare: Getting original IP address of the visitor

  1. Hello!

    Do you know CloudFlare? It's an amazing service for making your websites faster and more secure. I have been using their free service for a while, and I'm really happy.

    The problem is that when I try to use CloudFlare with a domain that hosts a GravityForms WP form, which is getting the original IP of visitor, what happens is that always arrives the CloudFlare IP and there is no way to obtain the original one.

    After asking CloudFlare support, making the change in VPS and dedicated is easy, but in a shared environment, some changes must be done.

    Feel free to check this wiki document:

    http://www.cloudflare.com/wiki/Log_Files

    How can I get the original IP of the visitor?

    Hope there is an easy workaround for this. Thank you!!

    Posted 12 years ago on Friday January 27, 2012 | Permalink
  2. Richard Vav
    Administrator

    Just out of interest have you installed the cloudflare wordpress plugin because that is supposed to ensure the visitors original ip is used by the wordpress comment system and any other installed plugins. The site I am using Gravity forms on is on a shared hosting server and has cloudflare enabled and with the plugin installed I am seeing the visitors original ip recorded on the entry screen.

    Posted 12 years ago on Friday January 27, 2012 | Permalink
  3. Do you mean this plugin?

    http://wordpress.org/extend/plugins/cloudflare/

    Thank you.

    Posted 12 years ago on Friday January 27, 2012 | Permalink
  4. Richard Vav
    Administrator

    Yes that's the one. Once you install it you will need to login to your cloudflare account and copy and paste an api key into the plugins settings page and then that's it, you should start seeing the original ip on new posts.

    Regards,
    Richard

    Posted 12 years ago on Friday January 27, 2012 | Permalink
  5. Thank you! :-)

    Posted 12 years ago on Friday January 27, 2012 | Permalink
  6. Richard Vav
    Administrator

    No problem

    Posted 12 years ago on Friday January 27, 2012 | Permalink