How to block a user on a wordpress webistes that uses proxies?

tjapado

Junior Member
Joined
Feb 10, 2013
Messages
147
Reaction score
63
Hi,

I have a user on my wordpress websites that deserves a ban only i know he is using proxies because i have collected about 20 ip's.

Is there a way i can ban this user?

Thanks
 
Its not about spam just want to block a user who uses proxies
 
Its not about spam just want to block a user who uses proxies

I do not think you can ...:( just take a look at the proxies on arin who is and contact the IP provider and make an abuse report there !
If its using public proxies :( then just spam them and thats it ...
 
.htaccess

Code:
<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>
 
.htaccess

Code:
<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>

this is for anonymous proxies, but for high anonymous proxies there is no solution ! :((
 
Ah oke well thanks for the code but im not gonna ad it because i dont want to block all users that use proxies only 1
 
this is for anonymous proxies, but for high anonymous proxies there is no solution ! :((

High Anon/Elite proxies do not pass on the UA. Block anything that does not have a UA, or a properly formatted UA.
 
Ah oke well thanks for the code but im not gonna ad it because i dont want to block all users that use proxies only 1

Then in htaccess:
Deny from xxx.xxx.xxx.xxx

If all the collected IP's are in the same D block, i.e. 111.0.0.0 - 111.0.0.255, then use a Cider notation of
Deny from 111.0.0.0/24

But if it a a single user using numerous proxies....

As to Akismet and whatnot, do not believe others that they alone will stop spam. While they may block some public IP's, they do not rely on IP address alone.
 
Last edited:
Then in htaccess:
Deny from xxx.xxx.xxx.xxx

If all the collected IP's are in the same D block, i.e. 111.0.0.0 - 111.0.0.255, then use a Cider notation of
Deny from 111.0.0.0/24

But if it a a single user using numerous proxies....

As to Akismet and whatnot, do not believe others that they alone will stop spam. While they may block some public IP's, they do not rely on IP address alone.

and what about the real costumers, visitors that comes from those apache blocked subnets?
 
Back
Top