Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 07, 2012, 12:29:08 AM

Pages: [1]   Go Down
  Print  
Author Topic: How to block IP address range  (Read 1451 times)
Runner
Spaceship Navigator
*****
Offline Offline

Posts: 91


« on: May 14, 2009, 09:30:50 AM »

I found the place in cpanel where you enter IP addresses that you want to block.  However, I do not know the proper syntax to block a range of addresses.   I want to block 92.0.0.0 (the entire range) but don't know how to enter it.  Do you have to include the number if bits if subnetting?

92.0.0.0/8
or maybe
92.0.0.0 255.0.0.0

I want to block any address under the 92 net.

Thanks for any info...

*****
UPDATE:  I found the answer on google.  enter it like this:
     92.0.0.0-92.255.255.255
*****

Andy

« Last Edit: May 14, 2009, 09:57:31 AM by Runner » Logged
MichaelB
JSA1
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


Mmmm coffee!


WWW
« Reply #1 on: June 04, 2009, 03:19:07 PM »

Hello,

In the IP Deny Manager within cPanel, you can just enter 92. and it will block the entire subnet for you.

You can also block these by hand by editing your .htaccess file, here is more information on that:
http://www.javascriptkit.com/howto/htaccess5.shtml

Have a wonderful day!
Logged

Michael R Brant
Junior System Administrator I
Dedicated & VPS Support

Support and Assistance:
United States - http://lunarpages.com
United Kingdom - http://lunarpages.co.uk
Membership Forum - http://www.lunarforums.com/
Tutorials - http://www.lunarpages.com/tutorials/
Help Desk - https://support.lunarpages.com/

Phones:
US - +1 877 586 2772 x3050
UK - +44 (0) 800 072 9150 x3050
International - +1 714 521 8150 x3050

E-mail:
Dedicated & VPS Support - dedicated@lunarpages.com
Basic & Business (Shared) Support - support@lunarpages.com
Pages: [1]   Go Up
  Print  
 
Jump to: