Glad that you got the site up. It must have been a scare!
$CFG->allowedip=''; should have done the same. I don't know whether Allowed list will be processed first (allowbeforeblock) interfered. Maybe worth moving the discussion to the General help for somebody there have a look.
Yeah, verbiage is always thing. https://docs.moodle.org/en/IP_blocker has a clear message:
$CFG->allowedip=''; should have done the same. I don't know whether Allowed list will be processed first (allowbeforeblock) interfered. Maybe worth moving the discussion to the General help for somebody there have a look.
Yeah, verbiage is always thing. https://docs.moodle.org/en/IP_blocker has a clear message:
Be aware that with any entries in the Allowed IP List, the effect is to allow ONLY those IP addresses and block all others. Exercise care with this setting, as it is possible to lock yourself out of Moodle.
The setting itself, thesite/admin/settings.php?section=ipblocker, indeed does not warn about this:
Put every entry on one line. Valid entries are either full IP address (such as 192.168.10.1) which matches a single host; or partial address (such as 192.168) which matches any address starting with those numbers; or CIDR notation (such as 231.54.211.0/20); or a range of IP addresses (such as 231.3.56.10-20) where the range applies to the last part of the address. Text domain names (like 'example.com') are not supported. Blank lines, and text following a "#" character are ignored.
Maybe you want to make a suggestion?
Maybe you want to make a suggestion?