InMotion Hosting Support Center

In Moodle 2.3, IP addresses can be blocked or allowed access to the site. Frequently, robots and other visitors can hit the Moodle site frequently causing the site to crash or hackers to attempt to compromise the site. To restrict Moodle's access from the web, Moodle incorporated the IP blocker feature in the Site administration. IP's can also be set so that only users from the school campus can access as well. This gives the administrator the ability to regulate the traffic. The following will explain how to block IP addresses in Moodle.

Using the IP blocker

  1. Log into the Moodle Dashboard
  2. block-ips Navigate to Site administration > Security > IP blocker in the Settings.
  3. block-ips-add Enter the IP's in the Blocked IP's list. Each IP needs to be on a separate line. IP ranges can be added as well. Once the IP's are entered click Save changes.

Congratulations, now the IP's that were entered will not be allowed to access the Moodle site. This concludes the article for Blocking IP's in the Moodle Site administrator. For more information about articles with a similar topic, please visit Moodle site security.

Was this article helpful?
Continued Education in Course 201: Moodle site security and server settings
You are viewing Section 3: Blocking IP's in the Moodle Site administrator
Section 2: Forcing Moodle 2.3 to work over SSL
Section 4: Setting up ClamAV AntiVirus for Moodle file uploads

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!