jrrdnx/craft-ip-restrictor

Restrict what IP addresses can access the Craft control panel and front-end

1.1.4 2024-03-20 12:47 UTC

This package is auto-updated.

Last update: 2024-04-20 13:01:46 UTC


README

Restrict what IP addresses can access the Craft control panel and front-end

Open an Issue

Requirements

This plugin requires Craft CMS ^4.0.0 or ^5.0.0 and PHP ^8.0.2

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:
cd /path/to/project
  1. Then tell Composer to load the plugin:
composer require jrrdnx/craft-ip-restrictor
  1. In the Control Panel, go to Settings -> Plugins and click the "Install" button for IP Restrictor. You can also use the CLI to install and enable:
php craft plugin/install ip-restrictor
php craft plugin/enable ip-restrictor

Configuring IP Restrictor

  • In the Control Panel, go to Settings and click on the IP Restictor icon to configure this plugin's settings.

OR

  • Copy the vendor/jrrdnx/craft-ip-restrictor/src/config.php file to config/ip-restrictor.php and modify the default settings as necessary.
cp vendor/jrrdnx/craft-ip-restrictor/src/config.php config/ip-restrictor.php

Full documentation

Full documentation can be viewed at https://jarrodnix.dev/plugins/ip-restrictor/v1

IP Restrictor Roadmap

Open an Issue to report any bugs or request a new feature.

Brought to you by Jarrod D Nix