Title: Wordfence blocking internal ips
Last modified: December 11, 2018

---

# Wordfence blocking internal ips

 *  Resolved [easy_c0mpany80](https://wordpress.org/support/users/easy_c0mpany80/)
 * (@easy_c0mpany80)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/wordfence-blocking-internal-ips/)
 * I have WordPress running inside Docker containers for various sites on a host.
   I recently changed from Sucuri to Wordfence on some of these sites and Im now
   starting to see some reports of blocked ips that are the internal/private ips
   of the container that the WP site is running on eg 172.18.0.3. The number of 
   blocks is very small, less than 10 per day and Im not seeing any real affect 
   on traffic. Is this something I need to be concerned about and/or is there a 
   way to fix this?
 * thanks

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

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/wordfence-blocking-internal-ips/#post-10976395)
 * Hi [@easy_c0mpany80](https://wordpress.org/support/users/easy_c0mpany80/),
 * Wordfence should automatically whitelist private IP addresses.
 * Can you take a look at `/wp-content/plugins/wordfence/libwfIPWhitelist.php`?
 * On line number 13: it should read `'172.16.0.0/12',`: can you confirm that it
   is not commented out with `//`?
 * _Note: 172.16.0.0/12 means that it will whitelist every IP between 172.16.0.0
   and 172.31.255.255, which includes the IP address you listed._
 * Dave
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/wordfence-blocking-internal-ips/#post-11043523)
 * Hi again!
 * We haven’t heard back from you in a while, so I’ve gone ahead and marked this
   thread as resolved. If you’re still having issues with Wordfence, please feel
   free to open another thread!
 * Dave

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

The topic ‘Wordfence blocking internal ips’ 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/)

## Tags

 * [containers](https://wordpress.org/support/topic-tag/containers/)
 * [docker](https://wordpress.org/support/topic-tag/docker/)

 * 2 replies
 * 2 participants
 * Last reply from: [wfdave](https://wordpress.org/support/users/wfdave/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/wordfence-blocking-internal-ips/#post-11043523)
 * Status: resolved