Admin Block Country

Description

Easy to use plugin, that blocks access to your wp-admin area by country. Uses geoip-api-php as the library to work out the visitor’s country.

Installation

1) Install WordPress 4.4.1 or higher

2) Download the latest from:

https://wordpress.org/extend/plugins/admin-block-country

3) Login to WordPress admin, click on Plugins / Add New / Upload, then upload the zip file you just downloaded.

4) Activate the plugin.

Reviews

Working with WP Versión 4.7.3

Hi

I have discovered this plugins and I’m testing it in WP Versión 4.7.3.
It looks good. I have used to modify my location “Just Proxy VPN” Chrome extension.

Dani

Does not seem to work

Well, I do not see it working. I have blocked all the countries and I have logged in with the navigator Tor who identified me in Germany (blocked) and has let me access the administration panel without problems

Do not block countries

Plugin does not seem to work at all. Wordfence reports several failed logins from many foreign countries even though local IP database is uploaded, backup external IP is set and all foreign countries are blocked.

Wordfence live traffic login and logouts reports messages like this still after activation of Admin Block Country plugin:

Dipolog City, Philippines attempted a failed login as “****”.
IP: 119.93.151.186 [block]
Hostname: 119.93.151.186
26.9.2015 16.51.19 (42 minutes ago)

Italy Rome, Italy attempted a failed login as “****”.
IP: 93.41.179.181 [block]
Hostname: 93-41-179-181.ip82.fastwebnet.it
26.9.2015 15.40.52 (1 hour 53 mins ago)

Egypt Giza, Egypt attempted a failed login as “****”.
IP: 41.34.65.172 [block]
Hostname: host-41.34.65.172.tedata.net
26.9.2015 15.35.33 (1 hour 58 mins ago)

Turkey Ankara, Turkey attempted a failed login as “****”.
IP: 212.174.149.234 [block]
Hostname: 212.174.149.234.dynamic.ttnet.com.tr
26.9.2015 15.31.49 (2 hours 2 mins ago)

Serbia Belgrade, Serbia attempted a failed login as “****”.
IP: 178.222.170.95 [block]
Hostname: 178-222-170-95.dynamic.isp.telekom.rs
26.9.2015 14.32.22 (3 hours 1 min ago)

Argentina Ezpeleta, Argentina attempted a failed login as “****”.
IP: 186.137.130.207 [block]
Hostname: 207-130-137-186.fibertel.com.ar
26.9.2015 14.02.15 (3 hours 31 mins ago)

Read all 21 reviews

Contributors & Developers

“Admin Block Country” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

6.2

  • Fixed security issue which blocked requests to ipcountry.marketingmix.com.au.

6.1

  • Improved code.

6.0

  • I removed Who country service. You can now upload your own local ip database from maxmind. I’ve added in the instructions.

5.2

  • New IP to country service – utrace. Example http://xml.utrace.de/?query=183.60.244.29

5.0

  • Removed Tom M8te dependency.

4.3

  • Fixed bug with Admin “Select All” checkbox. Played havac with service selector. Never noticed it before.

4.2

  • Fixed bug with geoplugin.

4.1

  • Added in ipcountry.marketingmix.com.au ip to country service which is a server that I own. I noticed that the existing 2 have failed atleast once.

4.0

  • Tried Maxmind in version 3.0, but 2 of my clients couldn’t use it, so I’ve ditched it and now I use two external services: http://who.is, http://www.geoplugin.net.

3.0

  • Uses another method for discovering the country of an ip address.

2.0

  • Used a different method for discovering the country of an ip address. Seems to be less memory intensive.

1.0

  • Initial Commit