Allow an IP Address

By default, Sucuri Firewall will restrict access to your admin pages (e.g. /wp-admin, /administrator or /admin) so that only authorized IP’s can log in. That way, if your user accounts are ever compromised, your site will still be safe.

To authorize an IP to log in to your site, you will need to allow them in your dashboard. If you are getting the following error when trying to access your site, you need to allow your own IP.


Block ID: IPB17 
Block reason: Your request was not allowed due to IP blocking.

Allowing IPs using the dashboard

Allowing IPs is very simple and there are two ways of doing this.

  • Log in here, select the desired website, navigate to the Access Control tab and enter your current IP address under the Allow IP Addresses section.

  • Select Allow to allowlist your IP address once you have typed it into the box.

Allowing IPs using the API

  • Log in here, select the desired website, go to the API settings tab, then click on the Allow IP green button in the Quick Links section.

That will automatically whitelist your IP address. You can bookmark that link and share with other administrators of your site to allow them access. Any time they get blocked, all they need to do is visit that link to allow them back in.

That will automatically allow your IP address. You can bookmark that link and securely share with other administrators of your site to allow them access. Any time they get blocked, all they need to do is visit that link to allow them back in.

Allowing IP Ranges

Unless it is absolutely necessary, this isn’t recommended due to the security risks involved with allowing too many IP addresses.

You can allow subnets by adding IP addresses using the CIDR (Classless Inter-Domain Routing) format.

Let’s say you want to allow all IP addresses from 150.5.1.0 to 150.5.1.255, then you just need to allowlist the 150.5.1.0/24 range. If you want to allow all IP addresses from 150.5.0.0 to 150.5.255.255, you would need to allowlist 150.5.0.0/16.

At this time, you can allow any range between /16 and /32.

Disabling admin panel restriction

  • Log in here and select the desired website, in the Security tab under the Advanced Security Options setting uncheck the Admin panel restricted to only Allowed IP addresses option and click on Save Advanced Security Options.

This will turn off this option and allow anyone to access the administrator login pages.

Was this article helpful?