Skip to content

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

License

Notifications You must be signed in to change notification settings

jrrdnx/craft-ip-restrictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP Restrictor

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published