block proxy servers
-
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.
- The topic ‘block proxy servers’ is closed to new replies.