---
title: "Add IP Addresses to the Whitelist/Blacklist Using Loginizer"
description: "Installing and configuring Loginizer to protect against WordPress Brute Force Attacks will help you to maintain better security of your WordPress Administrative login. For example, you can allow/deny..."
url: https://www.inmotionhosting.com/support/email/blacklist-check/blacklist-and-whitelist-ips-using-loginizer/
date: 2017-10-17
modified: 2022-01-28
author: "InMotion Hosting Contributor"
categories: ["Blacklist Check", "Website"]
type: post
lang: en
---

# Add IP Addresses to the Whitelist/Blacklist Using Loginizer

[Installing and configuring Loginizer](/support/edu/wordpress/using-loginizer-to-protect-against-wordpress-brute-force-attacks/) to protect against WordPress Brute Force Attacks will help you to maintain better security of your WordPress Administrative login. For example, you can allow/deny login attempts if you simply **add an IP address to the Whitelist/Blacklist using Loginizer**.

Loginizer also includes a *failed login attempts* log that you can monitor IP addresses and other details recorded when a failed login attempt occurs. In this guide, you will learn how to read the failed login attempts logs, add your IP address to the whitelist, and add a range of IP addresses to the blacklist.

- [Failed Login Attempts Logs](#loginizer-logs)
- [Add IP to Whitelist](#whitelist-ip)
- [Add Range of IPs to Blacklist](#blacklist-ip-range)

## Failed Login Attempts Logs

The **Failed Login Attempts Logs** includes the IP and username, along with the last failed attempt timestamp, and the number of failed attempts and lockouts. These details can be used to more effectively secure your login page. Follow the instructions below to navigate to the logs and review the examples provided.

1. [Log into your WordPress Dashboard](/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. Hover over *Loginizer Security* from the menu to the left and click to select **Brute Force**.![Loginizer Security Brute Force menu option highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_loginizer-security-brute-force-menu-option.png)
3. In the example logs below, the IP address 216.54.31.82 attempted and failed to login 2 times. No lockout occured because the attempts stopped (either due to a successful login, the IP was added to the whitelist, or due to the brute force attack ceasing).![Failed Login Attempts Logs displayed showing IP: 216.54.31.82 attempted to log in with Username: example_wpadmin, Last Failed Attempt timestamp, Failed Attempts Count: 2, and Lockout Count: 0](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_failed-login-attempts-logs-example.png)
4. In the following example, the IP address 216.54.31.81 attempted to login with the username bgadmin and failed 3 times and thus was locked out 1 time:![Failed Login Attempts Logs displayed showing IP: 216.54.31.81 attempted to log in with Username: bgadmin, Last Failed Attempt timestamp, Failed Attempts Count: 3, and Lockouts Count: 1](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_failed-login-attempts-logs-lockout-example.png)
5. This is confirmed when the next attempt to login is made from the IP address, this message is displayed:![WordPress login page displaying default lockout error message: You have exceeded maximum login retries Please try after 30 minute(s)](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_lockout-default-error-message.png)

**NOTE: **The lockout begins at the timestamp of the last failed attempt recorded in the log. Once the lockout expires, if more attempts are made, the process will continue to mitigate the Brute Force Attack as configured.

## Add IP to Whitelist

Whitelisting your IP is the best way to ensure that your access is never disrupted by accidentally locking yourself out. Below are the steps you can take to find and whitelist your own IP.

**NOTE: **Your IP address can change often depending on the device and internet connection you are using. We recommended you ONLY whitelist IP addresses from **private locations** you are familiar with (like your work and home office). We do NOT recommend whitelisting your IP address, *if you are using a public WiFi connection*.

1. Use our [IP Identifier Tool](/support/tools/what-is-my-ip-address/) to locate your IP address to whitelist. This tool will display the IP address you are connecting with for you to copy and use in the following steps.![Your IP Address tool displaying IP 86.75.30.9](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_ip-address-tool-example.png)
2. Highlight the IP address with your mouse then right-click and select **Copy**. You can also highlight the IP address and press **Ctrl + C**, on Windows/Linux (**Command + C**, on MacOS) on your keyboard, to copy the text.
3. [Log into your WordPress Dashboard](/support/edu/wordpress/logging-into-wordpress-dashboard/).
4. Hover over *Loginizer Security* from the menu to the left and click to select **Brute Force**.![Loginizer Security Brute Force menu option highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_loginizer-security-brute-force-menu-option.png)
5. From the *Brute Force* settings page, scroll down to the **Whitelist IP** section. Enter the IP address (copied from step 2) into the **Start IP** field.![Whitelist IP section Start IP field highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_whitelist-ip-start-ip-field.png)
6. Do NOT enter a value for the *End IP* field. Simply click on the **Add Whitelist IP Range** button to finalize whitelisting your IP address.![Whitelist IP section End IP field empty and Whitelist IP Range button highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_whitelist-ip-add-whitelist-ip-range-button.png)[](/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_whitelist-ip-add-whitelist-ip-range-button.png)

Now your IP address appears in the list of whitelisted IP addresses. This allows your IP access to login, regardless of the amount of failed login attempts made from it.

## Add Range of IPs to Blacklist

Blacklisting an IP address helps to persistently block access for logging in. If a particular range of IP addresses are identified in the logs consistently, blacklisting the range can prevent these attempts without having to tighten your Brute Force Settings.

Blacklisting a single IP is the same process as Whitelisting a single IP (as described in the section above) in the *Blacklist IP* section. The steps below will explain how to blacklist a range of IPs.

1. [Log into your WordPress Dashboard](/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. Hover over *Loginizer Security* from the menu to the left and click to select **Brute Force**.![Loginizer Security Brute Force menu option highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_loginizer-security-brute-force-menu-option.png)
3. In our example the logs display activity from a range of IP addresses starting at 216.54.32.80 (to 216.54.32.84). Since we have already identified the range, scroll down to the **Blacklist IP** section and enter the first IP address in the range in the **Start IP** field.![Blacklist IP section Start IP field highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_blacklist-ip-start-ip-field.png)
4. Enter the last IP address in the range in the **End IP (Optional)** field.![Blacklist IP section End IP field highlighted](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_blacklist-ip-end-ip-field.png)
5. Click the **Add Blacklist IP Range** button to finalize blacklisting that range of IP addresses. ![Blacklist IP section Blacklist IP Range button](https://www.inmotionhosting.com/support/wp-content/uploads/2017/10/wordpress-plugins_loginizer_blacklist-whitelist_blacklist-ip-add-blacklist-ip-range-button.png)

Now that you have blacklisted the IP range any IPs that attempt to login from within that range, will receive the message:
*“Your IP has been blacklisted”*

If you would like to customize this message, follow the steps in our guide on [Using Loginizer to Protect Against WordPress Brute Force Attacks](/support/edu/wordpress/using-loginizer-to-protect-against-wordpress-brute-force-attacks/).
