Home › Quizzes › Platforms & LMS › Moodle Quiz IP Address Settings

Limit a Moodle quiz to the IP addresses you allow

Upload your lecture slides, notes or PDFs and get multiple-choice, true/false or open questions with explanations. Pro adds Moodle XML export for your course.

Create quizzes nowFree · No credit card required

Free account · 3 sets a month · Creates quizzes in seconds

How the Moodle quiz IP address setting works

Teachers who want a quiz limited to campus often rely on the Moodle quiz IP address setting, found under extra restrictions on attempts. It accepts single addresses or subnet ranges, and Moodle checks each attempt against that list before a student can begin.

  • Moodle's Required IP address field takes a comma-separated list of addresses or CIDR subnets.
  • A range such as 192.168.1.0/24 covers 256 addresses, from 192.168.1.0 through 192.168.1.255.
  • Students on VPNs or proxies may be blocked even when they are on an allowed network.
  • IP restrictions confirm network location, not identity, so pair them with a quiz password when needed.
Example Moodle quiz IP address questions
In Moodle, where do you set an IP restriction for a quiz?Under the quiz settings, in Extra restrictions on attempts, in the Required IP address field. That section holds the rules Moodle checks before a student can start an attempt.
What format does the Required IP address field accept for a whole network range?CIDR notation, such as 192.168.1.0/24. The /24 suffix fixes the first 24 bits, so the range covers every address from 192.168.1.0 to 192.168.1.255.
Can you list more than one address in the Required IP address field?Yes, separate the entries with commas. Moodle reads each comma-separated entry as an allowed address or subnet.
Why might a student on a valid campus network be blocked by an IP restriction?Their connection may reach Moodle through a VPN or proxy that shows a different public address. Moodle checks the address it receives, not the device's local address.
Does an IP address restriction confirm who is taking the quiz?No, it only confirms the network the attempt comes from. Someone else on an allowed network could still take the quiz, so pair it with a password or other identity checks.
Generate the full set

Practice questions from your notes

Upload a PDF, slides or notes and get multiple-choice, true/false or open questions with explanations.

Export to Moodle XML

The Pro plan includes Moodle XML and QTI 2.1 export, so questions can move into your course question bank.

Study in the browser

The free plan includes 3 generations per month and browser study, with no exports.

How it works

Upload your material

Add a PDF, DOCX, PPTX, text file or a photo of a page.

Choose the question types

Pick multiple choice, true/false or open questions, each with explanations.

Study or export

Study in the browser, or export to Moodle XML on the Pro plan.

Restricting a quiz by network is one layer of control, not identity verification. Moodle compares the address it receives with the list you enter, so results depend on how traffic reaches your site. If you are unsure which range to use, ask your campus IT team for the public addresses assigned to labs and libraries.

Once the restriction is set, you can still generate the questions from your own lecture material. DeckOwl turns uploads into practice quizzes with explanations, so students can review the content before the restricted attempt.

Explore related topics

Frequently asked questions

How do I find the IP address to allow for my students?

Ask your campus IT team for the public address ranges used by labs, libraries and the campus network. Using a range is usually more reliable than listing individual student addresses.

What is CIDR notation and why does Moodle accept it?

CIDR notation, such as 10.0.0.0/16, describes a block of addresses using a number that shows how many leading bits are fixed. Moodle accepts it so you can allow a whole network with one entry instead of listing every address.

Can DeckOwl export quizzes straight into Moodle?

Yes, but Moodle XML export is part of the Pro plan at $14.99 per month. The Plus plan at $99.90 per year or $9.99 per month includes PDF, DOCX, Anki and CSV exports.

Is there a free way to try DeckOwl?

The free plan gives you 3 generations per month and lets you study in the browser, though exports are not included. No credit card is needed to start.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.