To block certain IPs from accessing the Moodle admin panel, follow the steps below:
- Log in to the Moodle admin panel
- From Settings navigate to Site administration> Security> IP blocker
- Enter the IPs you want to block on separate lines and then click Save changes
