Search Results :

×

miniOrange IP Restriction Extension for Magento

miniOrange IP Restriction extension for Magento helps you block unwanted visitors and reduce malicious traffic by restricting access based on IP address and geographic location. It gives store owners a simple but powerful way to prevent suspicious users, bots, and high-risk traffic from reaching the storefront or admin panel—before they can attempt login attacks, scrape content, or overload your site.

  • Purchase the miniOrange Magento IP Restriction extension from Magento Marketplace (Adobe Commerce Marketplace).
  • Go to My profile -> My Purchases
  • Please ensure you are using correct access keys (My Profile - Access Keys)
  • Paste the access keys in your auth.json file inside your project
  • Use the below command to add the extension to your project.
    "composer require {module_name}:{version}"
  • You can see the module name and list of versions in the selector below the extension module name.
  • Run the following commands on command prompt to enable the extension.
    php bin/magento setup:upgrade
  • Download the miniOrange Magento IP Restriction extension.
  • Unzip all contents of the zip inside the MiniOrange/IpRestriction directory.
  • {Root Directory of Magento} app code MiniOrange IpRestriction
  • Run the following commands on command prompt to enable the extension
    php bin/magento setup:upgrade

Before configuring IP Restriction, ensure you have SSH/CLI access to your Magento server. If you accidentally lock yourself out of the admin panel, you can use the following CLI commands to manage Admin IP Restriction.

CLI commands to manage Admin IP Restriction and avoid self-lockout

  1. bin/magento admin:ip-restriction --disable

    Temporarily disables IP Restriction if you are locked out of the admin panel.

  2. bin/magento admin:ip-restriction --enable

    Re-enables IP Restriction after resolving the issue.

  3. bin/magento admin:ip-restriction --status

    Checks the current status of Admin IP Restriction.

  • In the Scope dropdown, select the required scope (e.g., Admin,etc.). In the premium version of the extension you can apply IP restrictions, Country restriction rules settings separately for each site.
IP restrictions for magento
  • In the IP Blacklist panel, locate Enable IP Blacklisting. Turn the toggle ON to activate IP blacklisting for the selected scope.
  • Enter the IP addresses you want to block. Separate multiple IPs with a semicolon (;).
Magento IP Restriction | IP Blacklisting
  • In the Country Restriction panel, locate Enable Country Restriction. Turn the toggle ON to activate Country Restriction for the selected scope.
Magento IP Restriction | Ip Country Restriction
  • In GeoIP2 Database Configuration, enter your MaxMind GeoIP2 License Key. If you don’t have the license key, you can generate one from the MaxMind site.
GeoIP2 Database | Magento IP Restriction
  • Click the Download button under Manual Download to manually fetch the latest GeoIP2 Country database.
  • Check Enable automatic weekly database updates if you want Magento to automatically update the GeoIP2 file weekly. This is recommended for accurate country detection.
IP Restriction | Magento latest GeoIP2 Country database
  • Under Country Denylist, select the countries you want to block from the dropdown. Any users attempting to access the site from these countries will be denied access.
Adobe Commerce IP Restriction | Magento Country Restriction

Please reach out to us at magentosupport@xecurify.com, and our team will assist you with setting up the Magento IP Restriction Extension. Our team will help you to select the best suitable solution/plan as per your requirement.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support