Cloudflare, ip's proxy and config.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gnrx
    Senior Member
    • Feb 2009
    • 241

    Cloudflare, ip's proxy and config.php

    Hello.
    Since a few time, I change my dns's of my domain for use cloudflare, all works fine but, all users appears with ip of cloudflare.
    Cloudflare indicate to me this:
    Code:
    Cloudflare is proxying your visitors, so your server sees all requests as coming from Cloudflare.
    
    See if your forum has a way to handle proxied requests. Cloudflare uses two headers that show the visitor’s actual IP address: CF-Connecting-IP and X-Forwarded-For
    And this:
    Code:
    vBulletin docs say the very end of config.php has a line to uncomment to restore X-Forwarded-For
    
    “/* If the real IP is passed in a http header variable you can set the name here; */
    //$config[‘Misc’][‘proxyipheader’] = ‘HTTP_X_FORWARDED_FOR’;”
    I uncomment the last line (without //) but continue with the same problem, all users are with ip proxy of cloudflare.

    Its possible solved this?

    Thanks and regards.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    What are the actual headers of the page? You can view this in the developer tools of either Chrome or Firefox.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • gnrx
      Senior Member
      • Feb 2009
      • 241

      #3
      Sorry for the delay in reply.
      I disabled Cloudflare for this and others problems (with cookies for example).

      Comment

      Related Topics

      Collapse

      Working...