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
    376
    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.

          6 and a half billion people know that they are stupid, agressive, lower life forms.

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