PDA

View Full Version : How to Ban a IP or IP Range?


Abhik
06-26-2010, 10:08 AM
Hello,
I want to ban a IP or a whole IP Range.
It seems vBulletin 4.0.4 don't have a default option for that.

May I know how can I do that?
TIA

ChopSuey
06-26-2010, 10:19 AM
Urr.....was answered previously..

AdminCP > Settings > Options > User Banning Options

;)

borbole
06-26-2010, 11:15 AM
Hello,
I want to ban a IP or a whole IP Range.
It seems vBulletin 4.0.4 don't have a default option for that.

May I know how can I do that?
TIA

You can also try to ban those ip ranges through .htaccess by placing the following code at your .htaccess file:

order allow,deny
deny from ip address range here
deny from ip address range here
allow from all

And replace ip address range here with the ip address ranges that you want to ban. To add more, simply keep adding deny from ip address range here.

You can also redirect them to another page by adding this code:

ErrorDocument 403 http://www.redirectbannedmembers.com//

The url I posted above is an example, you should replace it with that of your own where you want to redirect the banned users.

Hope it helps.

Arunkumar
06-26-2010, 11:17 AM
I am looking for the same. Thanks ChopSuey.

Abhik
06-26-2010, 02:19 PM
Urr.....was answered previously..

AdminCP > Settings > Options > User Banning Options

;)
That's cool..
Sure I have missed that setting.

:)

jdrakopo
08-30-2010, 10:59 PM
If my 3rd party hoster does not allow me to modify the .htaccess file (I don't believe siteground does)... does vbulletin give us any other options ?

I'm getting spammed heavily from several countries and need to block them off.

your24hourstore
08-31-2010, 12:45 AM
If my 3rd party hoster does not allow me to modify the .htaccess file (I don't believe siteground does)... does vbulletin give us any other options ?

I'm getting spammed heavily from several countries and need to block them off.
that freaked me out when chop-suey came up, but yes VB has a way to ban ips from within the admincp/options/settings/User Banning Options

jdrakopo
08-31-2010, 09:39 AM
I already use --> admincp/options/settings/User Banning Options
However, what I need is to ban a RANGE OF IP's
For instance, all IP's from Beijing

Is this do'able ?

Xtrigit
08-31-2010, 09:55 AM
If my 3rd party hoster does not allow me to modify the .htaccess file (I don't believe siteground does)... does vbulletin give us any other options ?

I'm getting spammed heavily from several countries and need to block them off.

I believe they do allow you to modify .htaccess.

Ask them to be sure.

your24hourstore
08-31-2010, 02:47 PM
I already use --> admincp/options/settings/User Banning Options
However, what I need is to ban a RANGE OF IP's
For instance, all IP's from Beijing

Is this do'able ?

111.*.*.*
112.*.*.*
113.*.*.*
114.*.*.*
115.*.*.*
116.*.*.*
117.*.*.*
so one to 124, i think
if im wrong someone will say so :)
found this https://vborg.vbsupport.ru/showthread.php?t=227013

Bengie
12-05-2012, 09:20 AM
Urr.....was answered previously..

AdminCP > Settings > Options > User Banning Options

;)

Doh - no that don't ban ranges.

betterthanyours
12-05-2012, 09:41 AM
Do ranges through .htaccess and ban the block or CDIR range.