Knowledgebase: Linux/Cpanel
How do I setup IP Deny?
Posted by Alpha Daramy on 27 May 2008 06:37 PM

Adding IP Addresses

Steps
  1. Enter the IP Address or domain name you want to prevent from accessing your web site in the "IP Address or Domain" text box.

You can specify denied IP addresses in the following formats:

10.5.3.333Single IP Address
10.5.3.3-10.5.3.40Range
10.5.3.5-40Implied Range
10.5.3.3/32CIDR Format
10.Implies 10.*.*.*
  1. Click on the Add button.
  2. You will see the following confirmation:
If you entered an IP Address, you will see...
"Users from the IP address(s) IP_ADDRESS will not be able to access your site."
If you entered a domain name, you will see...
"DOMAIN was resolved to the ip address IP_ADDRESS. Users from the IP address(s) IP_ADDRESS will not be able to access your site."
  1. Click on the Go Back link.
  2. When the page loads, you will see a table with your added IP addresses containing the following information, split into four columns:
    • Server Setting - This entry will be the IP Address name you entered in Step 1 above.
    • Beginning IP - If you entered one of the "Range" formats (defined in the table in Step 1), this entry will be the beginning IP address of the "Range" you entered in Step 1.
    • Ending IP - If you entered one of the "Range" formats (defined in the table in Step 1), this entry will be the ending IP address of the "Range" you entered in Step 1.
    • Remove - Click on this option to remove the IP Address or IP Range from the system completely.

Removing IP Addresses

If you want to remove an IP Address, cPanel has a built-in feature that will allow you to easily delete any IP Addresses you have previously created.

Steps
  1. Assuming you have added an IP Address or IP Range, view the "Current IP addresses being blocked" table as described in Step 5 of the "Adding IP Addresses" section at the top of this document.
  2. Find the IP Address you want to delete in the table.
  3. Next, click on the Remove link in the "Actions" column.
  4. When the page loads, click on the Yes button.
  5. The next page will state "The IP address IP_ADDRESS will now be able to access your site."
(132 vote(s))
Helpful
Not helpful

Comments (0)