• Resolved margomm

    (@margomm)


    Hello!
    I have a question:
    how to protect the site from visits through proxy servers?
    I found a way to protect:https://perishablepress.com/block-tough-proxies/
    `<ifModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP:VIA} !^$ [OR]
    RewriteCond %{HTTP:FORWARDED} !^$ [OR]
    RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
    RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
    RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
    RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
    RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
    RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
    RewriteRule .* – [F]
    </ifModule>

    How correct is this?

    Can you implement a proxy protection option in Defender Security?
    The site is being attacked to reduce behavioral factors. They come from spoofed IPs and referrer. I can’t block them. Access to bad bots is blocked on the server. I applied all the recommended settings in Defender Security.
    I suspect that the proxy should be blocked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @margomm

    I hope you are doing good today.

    I pinged our Defender Team to review your query. We will post an update here as soon as more information is available.

    Kind Regards,
    Kris

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @margomm

    Sorry for the delay here.

    The htacess sounds to do the trick, I suggest testing on a lab site and check how it goes before applying to live site.

    For the Defender, we sent it as a feature request to our developers, I am afraid we can’t give an estimated time or if we will implement it but please keep eyes on the plugin updates.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @margomm

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘block proxy servers’ is closed to new replies.