Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Virtual Private Servers (VPS)

Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-26-2007, 10:38 AM
baghdad4ever baghdad4ever is offline
Banned
 
Join Date: Oct 2007
Posts: 142
Default how i block some ip

hi

i wanna to block certain ips

i know how to block ip from cpanel

but i wanna to block from whm

how??

thanks
Reply With Quote
  #2  
Old 10-26-2007, 10:47 AM
seoguru's Avatar
seoguru seoguru is offline
SEO Guru
 
Join Date: Sep 2007
Posts: 122
Default

There is feature in cPanel - "Ip Deny Manager"
You can try it...
Reply With Quote
  #3  
Old 10-26-2007, 10:48 AM
Shazam's Avatar
Shazam Shazam is offline
Forum Whip-Cracker
 
Join Date: Sep 2007
Location: Scottsdale, AZ
Posts: 1,023
Default

Quote:
Originally Posted by baghdad4ever View Post
hi

i wanna to block certain ips

i know how to block ip from cpanel

but i wanna to block from whm

how??

thanks
If I keep this up, some people will think I know something about this

Anyway, in WHM, go to Security, click on Security Center, and then choose Host Access Control (block IP access).

It's not the best interface in the world, but it's serviceable.

I hope this helps.
__________________
Best,
Shazam
HostICan Community Superhero
Reply With Quote
  #4  
Old 10-26-2007, 12:59 PM
roger's Avatar
roger roger is offline
Senior Member
 
Join Date: Sep 2007
Posts: 286
Default

Here's another solution that is domain specific (not blocking an IP on the whole server, just the domain).

You can block on the domain level by adding the following lines to your .htaccess in .../public_html for the appropriate domain.

Quote:
deny from 62.93.184.63
The above would deny access to the ??? domain from that IP origin.

Unfortunately, the htaccess on one of my domains is very large to block spammers, scammers, etc. and is a little more involved than just the above line - But you get the jist I think.

Last edited by roger; 10-26-2007 at 01:01 PM. Reason: addition
Reply With Quote
  #5  
Old 10-26-2007, 03:12 PM
baghdad4ever baghdad4ever is offline
Banned
 
Join Date: Oct 2007
Posts: 142
Default

Quote:
Originally Posted by seoguru View Post
There is feature in cPanel - "Ip Deny Manager"
You can try it...


hellow seoguru

yes i know that and i use it many times

but i ask about whm bec i dont see such feature in it

thanks for help bro





Quote:
Originally Posted by Shazam View Post
If I keep this up, some people will think I know something about this

Anyway, in WHM, go to Security, click on Security Center, and then choose Host Access Control (block IP access).

It's not the best interface in the world, but it's serviceable.

I hope this helps.

thanks admin

i see it after you directed me but

it is not easy like that one in cpanel

im confused how to block ip from it

is there some idea what can i choose???





Quote:
Originally Posted by roger View Post
Here's another solution that is domain specific (not blocking an IP on the whole server, just the domain).

You can block on the domain level by adding the following lines to your .htaccess in .../public_html for the appropriate domain.



The above would deny access to the ??? domain from that IP origin.

Unfortunately, the htaccess on one of my domains is very large to block spammers, scammers, etc. and is a little more involved than just the above line - But you get the jist I think.


hi roger

i think we can block ip like this method via cpanel

i wanna to block ip which try to enter whm


thanks bro for your help
Reply With Quote
  #6  
Old 10-26-2007, 05:46 PM
roger's Avatar
roger roger is offline
Senior Member
 
Join Date: Sep 2007
Posts: 286
Default

(I'm not a bro.)

Shazam answered this above for you.

Before you fill out any fields, there is a blurb that tells you how to use it.

Here is a cut & paste:

See the attached Image! (attached to this post - the upload settings are way too crappy to allow for any clearly readable image).

Quote:
Host Access Control allows you to set up specific rules to allow or deny access to your server and services on it based on the IP address that is attempting to connect. It is general practice that denying all connections and only allowing connections that you wish to proceed is the most secure way to use Host Access Control.

To set up a rule, you will need to add the service you wish to create the rule for, the IP address(es) you wish to allow or deny, and then the action to be taken (allow or deny).

For example, you could set up the following rules to lock down your SSH service:

Note that the rules have an order of precedence. You need to place your allow rules before your deny rules if you are choosing to use the allow from a few, then deny from all technique.
You can also use "ALL EXCEPT x.x.x.x" as an Access List which will allow all IP addresses except x.x.x.x (replace with a specific IP address).
So... just follow that guide, pick your service and the IP range. Then set the rule and add an appropriate note.
Attached Images
File Type: jpg whm-HostAccessControl.jpg (17.9 KB, 8 views)
Reply With Quote
  #7  
Old 10-27-2007, 05:07 AM
baghdad4ever baghdad4ever is offline
Banned
 
Join Date: Oct 2007
Posts: 142
Default

yes roger

i see this guide but under action option

there is no box to write allow or deny

and this is confuse me
Reply With Quote
  #8  
Old 10-27-2007, 11:04 AM
roger's Avatar
roger roger is offline
Senior Member
 
Join Date: Sep 2007
Posts: 286
Default

Quote:
Originally Posted by baghdad4ever View Post
yes roger

i see this guide but under action option

there is no box to write allow or deny

and this is confuse me
Umm... if the box is coloured purple, then type "allow", "deny" or any other command in the purple boxes. They don't all have to be white, it never said anywhere that boxes have to be white.

With things such as this, the only way people can learn is to roll up their sleeves and actually try. That's how people learn the best.

When you type, you will see the AJAX type field where you'll see more information you can use. Play with it, have fun!

I hope this helps....
Reply With Quote
  #9  
Old 10-27-2007, 04:10 PM
baghdad4ever baghdad4ever is offline
Banned
 
Join Date: Oct 2007
Posts: 142
Default

Quote:
Originally Posted by roger View Post
Umm... if the box is coloured purple, then type "allow", "deny" or any other command in the purple boxes. They don't all have to be white, it never said anywhere that boxes have to be white.

With things such as this, the only way people can learn is to roll up their sleeves and actually try. That's how people learn the best.

When you type, you will see the AJAX type field where you'll see more information you can use. Play with it, have fun!

I hope this helps....
thanks roger

see the attachment

i cant write any thing in action column
Attached Images
File Type: jpg untitled.JPG (15.6 KB, 6 views)
Reply With Quote
  #10  
Old 10-27-2007, 05:30 PM
roger's Avatar
roger roger is offline
Senior Member
 
Join Date: Sep 2007
Posts: 286
Default

Quote:
Originally Posted by baghdad4ever View Post
thanks roger

see the attachment

i cant write any thing in action column
What browser are you using? I'm using Firefox and it's rendering all the fields to the screen.
Reply With Quote
Reply

Tags
block

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannonical URLs mtippett Shared Hosting 15 09-21-2008 02:56 PM
Mail problems caused by invalid reverse DNS? bkark Virtual Private Servers (VPS) 33 12-15-2007 02:15 PM


All times are GMT -4. The time now is 08:51 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.