Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
_Version
_Version

(Home >> Security >> IP Blocker)

Overview

The IP Blocker interface allows you to block access to your site for one or more IP addresses or fully qualified domain names (FQDNs).

Block an IP address

Note
titleNote:

If you enter IP addresses directly into the .htaccess file, enter them in CIDR format only.

To deny access to an IP address or range of IP addresses, perform the following steps:

  1. Enter the IP address or range in the IP Address or Domain text box. You can enter IP addresses in any of the following formats:
    • Single IP address (for example, 10.5.3.333).
    • Range (for example, 10.5.3.3-10.5.3.40).
    • Implied range (for example, 10.5.3.3-40).
    • CIDR format (for example, 10.5.3.3/32).

    • Implied IP address (for example, 10.).

  2. Click Add.
Panel
borderColor#d9d9d9
bgColor#F2F2F2
borderStylesolid

In This Document

Toc no bullet
excludeDocument|Hosting

Related Documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
sortmodified
operatorAND
cqllabel = "ip" and label = "cpanel" and space = currentSpace()
labelsapiguide

For Hosting Providers

Content by Label
showLabelsfalse
max5
showSpacefalse
sortmodified
operatorAND
cqllabel = "ip" and label = "whm" and space in (currentSpace(),"CKB","EA","EA4")
labelsapiguide

Warning
titleWarning:

10. as an implied IP address implies 10.*.*.*, where each * represents a positive whole number. If you enter 10., the system blocks access to any IP address that begin with 10.

Currently-Blocked IP Addresses

cPanel separates the IP address ranges that you enter into subnets in CIDR format. The system then adds them to the .htaccess file. The interface will display blocked IP addresses and ranges in CIDR notation.

For example, if you enter the range 208.74.124.96-208.74.124.128, the Currently-Blocked IP Addresses table will appear similar to the following example:

Unblock an IP address

To remove an IP address from the list of blocked IP addresses, perform the following steps:

  1. Click Delete in the Actions column for the appropriate IP address.
  2. Click Remove IP.