• Resolved msamavi

    (@msamavi)


    Hello,

    I have setup my domains DNS using Cloudflare.

    Within the DNS settings:
    – There is an A record for mydomain.com pointing to my host IP address;
    – There is a CNAME record for www pointing to mydomain.com;

    If the CNAME record is proxied by Cloudflare (with an orange cloud icon), the IP Based Login does not work.

    Can you please provide a solution for this issue?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author brijeshk89

    (@brijeshk89)

    Hi,

    Please go to IP Based Login settings page in WordPress admin panel -> Settings -> IP Based Login and in the upper right corner look for “IP Detection Preference” set the value in dropdown as “HTTP_X_FORWARDED_FOR” and click on the “Save” button next to it.

    Let us know if you still face the issue.

    Thread Starter msamavi

    (@msamavi)

    Thank you for your reply.
    I already had tried all three available options with no success!

    Plugin Author brijeshk89

    (@brijeshk89)

    Hi,

    HTTP_X_FORWARDED_FOR should work for domains configured with Cloudflare.

    But as you said it does not work in your case, it seems you have an IPv6 hence it does not work.

    At the moment IPv6 is not supported. We will add support for IPv6 soon.

    Great… this solved my similar problem. Thanks for a great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with Cloudflare’ is closed to new replies.