Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Day of week & time of day restrictions per IP/MAC?

    General pfSense Questions
    2
    3
    367
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fleece last edited by

      My son stays up too late gaming.  Could I use pfSense to restrict his Internet access during days of week and time of day, say from midnight to 6AM?  I can give him the same IP address through reserved DHCP or something.

      1 Reply Last reply Reply Quote 0
      • F
        fleece last edited by

        Did some research.  One idea is I could use cron and pfctl to alter firewall rules.

        1 Reply Last reply Reply Quote 0
        • M
          Mr. Jingles last edited by

          @fleece:

          My son stays up too late gaming.  Could I use pfSense to restrict his Internet access during days of week and time of day, say from midnight to 6AM?  I can give him the same IP address through reserved DHCP or something.

          Yes.

          In Services/DHCP server you can give your son a static IP.

          Then, in Firewall/Schedules you can create a schedule.

          Then, in Firewall/Alias, you can create aliases with adresses your son is allowed to go to (the gaming, for example).

          Finally, in Firewall rules, you can:

          1. Add the alias to allow him to game;
          2. Add, in advanced settings (at the bottom) the schedule) which limits the time he can do that.

          So after that time, the can still google his home work (sorry, I still can't live with that thought, I'm old fashioned, back in my days we had books  :-[ ) but can't game.

          Or, of course, even beyond that: he can't internet at all.

          Or, beyond that, with two schedules:

          Firewall rule 1: he can game until 4 PM with a schedule.
          Firewall rule 2: he can game from 9 PM-10PM with a schedule.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy