Blacklisting / Whitelisting IP addresses
Block An IP Address From Visiting A WordPress Website
Dealing with a bot, spammer, or hacker constantly hitting your site?
There are many reasons you may need to block an IP address from visiting your website.
- To prevent particular users doing malicious things with your website
- Trying to spam your web forms
- Hack your shopping cart, etc.
- Big impact on your visits and bandwidth
When You need Block IP Address :
- A high number of consecutive login attempts (indicating a potential attempt to hack your site).
- Lots of spam comments posted by users from the same IP address.
- Access attempts on sensitive or restricted information by an unknown user, or a user without the correct permissions.
How to block IP addresses
WP User, you can easily find your site visitors’ website addresses and based on these addresses block user. If you use such IP ban protection on your website, you will also need to not only list individual addresses to be blocked but also IP masks and IP ranges.
Using WP User you can block :
- Single IP addresses Ex.111.77.248.200
- IP ranges such as Ex. 221.88.177.122-221.88.177.222
- IP masks Ex.210.98.*.*.
Go to Dashboard->WP User ->Security->Blacklisting / Whitelisting IP addresses
1) Set BlacklistingIP Address
2) Click on ‘Update’ for Save setting
Enter IP (,) Comma separated like as follow :
111.77.248.200, 111.77.248.221, 221.88.177.122-221.88.177.222, 221.88.197.122-221.88.197.222, 210.98.*.*., 211.78.100.*.
Pinpoint IPs that may be malicious :
- WP User : By looking through the resulting logs, you can identify IP addresses that have made too many login attempts or tried to access sensitive information.
- You can often find some of the same information in your web host’s logs. Visit your hosting control panel, and look for the option called Raw Access or Raw Access Logs:download a file with information about all the access attempts made on your site. you can then look for IP addresses that have tried to gain access to sensitive pages, or have made an unusually high number of login attempts. If you have trouble locating this option in your control panel, you can usually find help in your hosting provider’s documentation.
Whitelisting IP addresses in WordPress
Whitelisting : – all IP addresses are blocked except for specific IP addresses that are allowed.
Blacklisting – IP address means to block a specific set of IP addresses, while ‘whitelisting’ allows access to just a specific set of IP addresses.
That is – when you whitelist an IP address on a website, you grant access only to a specific network.
A user can switch devices on that network, but they’ll need to be connected to a network with whitelisted access to reach the your site.
Whitelisting Advantages :
- Enables you to control who accesses your website. Limiting access only to specific IP addresses can help you prevent attacks on your site.
- Login – Is more effective than implementing login security measures. When you implement an IP whitelisting feature, you essentially designate a full-time security guard that makes sure only the people you’ve approved can enter that door.
Whitelisting Disadvantages :
- If you have large customer base then you can not Whitelisting IP or it’s difficult to maintain.
How to whitelist IP addresses in WordPress :
Using WP User, you can easily add Whitelisting ips, you will also need to not only list individual addresses to be Whitelisting but also IP masks and IP ranges.
Using WP User you can Whitelisting :
- Single IP addresses Ex.111.77.248.200
- IP ranges such as Ex. 221.88.177.122-221.88.177.222
- IP masks Ex.210.98.*.*.
Go to Dashboard->WP User ->Security->Blacklisting / Whitelisting IP addresses
1) Set Whitelisting IP Address
2) Click on ‘Update’ for Save setting
Enter IP (,) Comma separated like as follow : 111.77.248.200, 111.77.248.221, 221.88.177.122-221.88.177.222, 221.88.197.122-221.88.197.222, 210.98.*.*., 211.78.100.*.