BuycPanel Blog

BuycPanel Blog

Latest news and updates

Restricting One or More IP Addresses to Access my Website

Posted by Allura on 10 04 2019.

A Brief Introduction
The IP Blocker interface equips you to block access to your website for one or more IP addresses or fully qualified domain names (FQDNs).Block an IP address
Note:If one enters IP addresses directly into the .htaccess file, enter them in CIDR format only.If one wishes to deny access to an IP address or range of IP addresses, perform the following steps:In the IP Address or Domaintext box enter the IP address or range. One can easily enter IP addresses in any of the following formats:A 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.).Click on Add.Warning:It should be noted that 10. as an implied IP address, implies 10.*.*.*, where each * represents a positive whole number. If one enters 10., the system blocks access to any IP address that begin with 10.Currently-Blocked IP Addresses
The IP address ranges that you enter is separated by the system, into subnets in CIDR format. Thereafter, the…

A Brief Introduction

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

Block an IP address

Note:

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

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

  1. In the IP Address or Domaintext box enter the IP address or range. One can easily enter IP addresses in any of the following formats:
    • A 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 on Add.

Warning:

It should be noted that 10. as an implied IP address, implies 10.*.*.*, where each * represents a positive whole number. If one enters 10., the system blocks access to any IP address that begin with 10.

Currently-Blocked IP Addresses

The IP address ranges that you enter is separated by the system, into subnets in CIDR format. Thereafter, the addresses will be added to the .htaccess file, by the system.

The interface lists blocked IP addresses and ranges in the table in CIDR format, where the following information is stated as true:

  • The CIDR-formatted IP address range is represented by the Server Setting.
  • The begging of the range is represented by the Beginning IP.
  • The end of the range is represented by the Ending IP.

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

Unblock an IP address

Removal of an IP address from the list of blocked IP addresses requires the following steps:

  1. In the Actionscolumn, click on Delete for the appropriate IP address.
  2. Click on Remove IP.