How to Deny Access by IP

ISPmanager panel allows you to control access to the site and restrict access from different IP addresses. Go to the System-Firewall section. Select New to add a new constraint or Edit to customize an existing one.

how-to-deny-access-by-ip

In the settings, choose the action that will be applied to the specified IP address:

  • Allow - access is not limited,
  • Deny - block access, 
  • Allow for — block IP addresses from the subnet specified in the Source address field.
  • Deny for. If the Deny access for all box is checked, only the IP addresses listed in the Source address field are allowed access. If the Deny access for all box is not checked, only trusted IP addresses from the subnet specified in the Source address field are allowed access. For all other sources, access will be blocked.
  • Specify the protocol and port through which access will be limited (leave the default value "any" to block access through all protocols and ports),
  • Specify the IP address or subnet for which the specified rules will apply.
how-to-deny-access-by-ip1

For security reasons, ISPmanager cannot create the following rules:

  • Deny access from the IP address from which the panel is logged in.
  • Deny the network that contains the virtual server address (if there is no allowing rule for your address).
  • Deny access to any port from any IP-address of the server (if there are no allowing rules for this server).

If you have any questions, please create a ticket to technical support.