Title: Blocking all IPs from accessing wp-admin
Last modified: December 14, 2018

---

# Blocking all IPs from accessing wp-admin

 *  Resolved [StanLight](https://wordpress.org/support/users/stanlight/)
 * (@stanlight)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/blocking-all-ips-from-accessing-wp-admin/)
 * I’ve been using Wordfence for several years and have in the past been able to
   set this up but can’t seem to find the right screen to do it now (after you reorganised
   all the screens!)
 * I want to block ALL IPs from access the login page (except for my own IP which
   is already whitelisted).
 * I know how to whitelist my IP, but I can’t find where to ban all IPs from the
   login page. Could you please point me in the right direction? TIA

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Tom](https://wordpress.org/support/users/chapteradmin/)
 * (@chapteradmin)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/blocking-all-ips-from-accessing-wp-admin/#post-10989408)
 * It seems to me Wordfence is all over the place. I have the exact opposite problem,
   no one can register on our site, no even me, the admin, sometimes. I will be 
   following this thread to see if a solution to your problem can be applied to 
   mine.
 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/blocking-all-ips-from-accessing-wp-admin/#post-11044006)
 * Hi [@stanlight](https://wordpress.org/support/users/stanlight/),
 * There isn’t an option to do this because there are many people that don’t understand
   that their public IP address is dynamic and many people will accidentally lock
   themselves out when their IP address changes if they used such an option. You
   can find all of the brute force login protection rules in the **_Brute Force 
   Protection_** section on the **_All Options_** page. All options are described
   here:
 * [https://www.wordfence.com/help/firewall/brute-force/](https://www.wordfence.com/help/firewall/brute-force/)
 * We recommend that you only whitelist your IP address if you have a static IP 
   address – most people don’t. You can read more about that here:
 * [https://www.wordfence.com/help/firewall/options/#advanced-options](https://www.wordfence.com/help/firewall/options/#advanced-options)
 * [@chapteradmin](https://wordpress.org/support/users/chapteradmin/) as you have
   a different problem and because of forum rules please create your own topic and
   we will be able to help you.
 * Thank you.
 *  Thread Starter [StanLight](https://wordpress.org/support/users/stanlight/)
 * (@stanlight)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/blocking-all-ips-from-accessing-wp-admin/#post-11044018)
 * >>There isn’t an option to do this
 * There used to be an option to do this. Are you saying WF has removed that feature?
 * >>We recommend that you only whitelist your IP address if you have a static IP
   address – most people don’t.
 * Well, I do have a static IP so **HOW **do I whitelist my IP in WF while banning
   all others?
 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/blocking-all-ips-from-accessing-wp-admin/#post-11064327)
 * Hi [@stanlight](https://wordpress.org/support/users/stanlight/)
 * Wordfence hasn’t had an option to block all IP addresses from the login page 
   so you may be thinking about a different plugin.
 * You can whitelist your IP address in the **_Advanced Firewall Options_** section
   on the **_All Options_** page using the option **_Whitelisted IP addresses that
   bypass all rules_**.
 * As pointed out before, you cannot ban all IP addresses in Wordfence from either
   the login page or the XML-RPC service. If you want to prevent brute force login
   attacks then please use the recommended Brute Force Portection settings below:
 * [https://www.wordfence.com/help/firewall/brute-force/](https://www.wordfence.com/help/firewall/brute-force/)
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Blocking all IPs from accessing wp-admin’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [wfphil](https://wordpress.org/support/users/wfphil/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/blocking-all-ips-from-accessing-wp-admin/#post-11064327)
 * Status: resolved