• Resolved sajad2010

    (@sajad2010)


    Hello,
    I’m trying wordfence 7.5.5 (and olders too)
    Manually Refresh Rules has failed, I deleted rules.php and wordfence create it,
    My server cannot access to internet directly, this used wordpress proxy for updates.
    Wordfence update proces using wp-proxy or connecting directly for get updates ?
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @sajad2010 and thanks for reaching out to us!

    Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Also, make sure your site can access these IPs:
    44.239.130.172
    44.238.191.15
    35.155.126.231

    Thanks again!

    Thread Starter sajad2010

    (@sajad2010)

    Hello, I sent diagnostic report.

    Plugin Support WFAdam

    (@wfadam)

    Thanks for sending those!

    It definitely is an issue with how Wordfence is detecting the IP address. I see the IP it’s detecting for your site’s IP is actually a T-Mobile IP would doesn’t sound correct.

    Who is your host? I might have some notes about proxy IPs and such.

    Thanks again!

    Thread Starter sajad2010

    (@sajad2010)

    It’s hosted on my local network in private IP address,
    I have a Public IP address and NAT to Private IP,
    Server don’t have internet directly, I use WP_PROXY_HOST to access internet in wordpress.
    Wordpress and others plugins can access to internet and update themself, Only wordfence have problem to update Rules only.

    • This reply was modified 3 years, 6 months ago by sajad2010.
    Plugin Support WFAdam

    (@wfadam)

    There might be a way to use the HTTPS_PROXY environment variable to cause curl to use the proxy. This is untested and might require more tweaks to get HTTPS working, but I can cause the curl to try to connect to a different host/port by adding this to the beginning of wordfence-waf.php:

    putenv('HTTPS_PROXY=https://ip_of_proxy:port_of_proxy');

    (The environment variable could be set elsewhere too.)

    Your wordfence-waf.php file should be located in your root directory along side your htaccess file.

    Let me know if this helps!

    Thanks again!

    Thread Starter sajad2010

    (@sajad2010)

    Tried it , not resolved problem,
    I see “Connecting back to this site” is my private IP . It’s used by wordfence for update me ?

    Plugin Support WFAdam

    (@wfadam)

    Just to make sure, did you substitute the IP and port in that URL? It might be easier to have email a copy of your wordfence-waf.php just to be sure. Could you attach it and send it to wftest @ wordfence . com with subject “sajad2010 for WFADAM” and I can review/edit it for you.

    Did you know whether the connection to your proxy is plain http or https. (You can change it in the URL if it’s plain http, but shouldn’t change the environment variable name that’s in caps.)

    Thanks again!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Manually Refresh Rules’ is closed to new replies.