Magento2 Admin IP based restriction - Member of MageSpecialist SecuritySuite
Deny access to Magento backend from unauthorized IPs.
This module represents one of the most effective Magento backend protection policy.
Member of MSP Security Suite
Did you lock yourself out from Magento backend? click here.
1. Install using composer
From command line:
composer require msp/adminrestriction
php bin/magento setup:upgrade
2. Enable and configure from your Magento backend config
If you messed up with IP list, you can disable or change authorized ip list from command-line:
php bin/magento msp:security:admin_restriction:ip disable
Authorize a new IP list:
php bin/magento msp:security:admin_restriction:ip 127.0.0.1,192.168.0.0/24