• Hello,

    We have created a json file in the root of the web with the IPs we want to be whitelisted but it doesn′t work:

    [{“ip”:”XXX.XXX.XXX.XXX”,”description”:”Guillermo”},{“ip”:”XXX.XXX.XXX.XXX”,”description”:”Jon”}]

    ?Is something wrong in this code? Thank you very much.

    Kind regards

    Guillermo

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Minor

    (@minor)

    Hi @gbasterra,

    It’s correct format. What does it mean, that doesn’t work? Not possible to save that URL?

    Maybe it’s because of special format of quotation mark you used. Should be " instead of or .

    Thread Starter gbasterra

    (@gbasterra)

    Hello,

    Thank you very much for your quick reply. The URL is saved with no problem and we are using the correct format of quotation but IPs are not whitelisted when we use the external URL ?? In the WordPress panel IPs are whitelisted correctly but not in the external file.

    Thank you very much.

    Plugin Author Minor

    (@minor)

    Everything looks good. If IP is not blacklisted, user should see message “Access denied because your IP address…” and followed by user IP address. Is that mentioned IP address on the whitelist?

    Looks like there is wrong user IP detection…

    Thread Starter gbasterra

    (@gbasterra)

    Hello,

    Yes, I see that message: “Access denied because your IP address…” and I can not access the wp-admin panel. I send you the URL where you can see it:

    https://distans80.com/.ip_whitelist_list.txt

    My IP is now 176.87.118.238 and I can not go to the login page.

    Thank you very much for your great support.

    Kind regards

    Guillermo

    Plugin Author Minor

    (@minor)

    Error message really contains your IP address “Access denied because your IP address 176.87.118.238…” not different IP address?

    Thread Starter gbasterra

    (@gbasterra)

    Hello,

    As you can see in the URL I have included my ip in the Json but I can not access to the WordPress panel. The IPs contained in the json file are supposed to be able to access the panel. Is that so?

    Thnak you very much.

    Guillermo

    Plugin Author Minor

    (@minor)

    Yes correct, I use this way on several websites and without problem. Could you please copy whole error message, please?

    Thread Starter gbasterra

    (@gbasterra)

    Yes of course. Here is the message:

    Error: Access denied because your IP address 79.149.176.83 is not on the whitelist.

    To do a test, I have tried the plugin on another website that is on a different server and the same thing happens to me.

    Thank you very much.

    Guillermo

    Plugin Author Minor

    (@minor)

    IP address mentioned in the error message is not whitelisted IP, that’s a problem :-).

    Thread Starter gbasterra

    (@gbasterra)

    Yes, is a problem for me, I can′t access to the WP panel! ?? And this IP, my IP, is included in the file, is very strange. I can deactivate the plugin via FTP, no problem ??

    Plugin Author Minor

    (@minor)

    You are not right. Your IP 79.149.176.83 is NOT on the whitelist – only 176.87.118.238 and 83.213.205.244 is whitelisted.

    Thread Starter gbasterra

    (@gbasterra)

    Yes, sorry, I have a dinamic IP. Have a look now, I have change the IP in the file and the problems is the same ??

    Thank you!

    Plugin Author Minor

    (@minor)

    Plugin use cache for the whitelist provided via URL. If you change that external whitelist file, it could take up to 10 minutes until the changes take effect.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘External URL with json file’ is closed to new replies.