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

Need help with time limit (not time based) internet access

Scheduled Pinned Locked Moved General pfSense Questions
6 Posts 5 Posters 1.9k Views
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.
  • D
    dhendriksen
    last edited by Jan 6, 2019, 11:25 PM

    I'm trying to find a way to limit internet access, by MAC address, to a certain number of minutes every day. For example, my kids Nintendo Switch - I need it to lose internet access after 45 minutes every day, and reset each day in the middle of the night.

    I've searched and searched but am coming up with only solutions for restricting time of day access. Any ideas before I go out and buy a new device?

    DH

    1 Reply Last reply Reply Quote 0
    • A
      akuma1x
      last edited by Jan 7, 2019, 5:36 PM

      I haven't seen anything like this in pfsense myself. It only, as far as I know, does time of day schedules. I use these to open and close internet access for my kids PS4 and Xbox boxes when it's time to eat dinner and go to bed, and when they get home from school.

      Have you checked if there are any parental controls inside of the Nintendo Switch itself? Or maybe there's an online Nintendo account that you can check for these settings? I know I have seen, as an example, on our PS4 account, there are parental controls that limit the time spent per day. Not time of day, but actually time on the device, like you're looking for.

      Hope that helps.

      Jeff

      1 Reply Last reply Reply Quote 0
      • K
        KOM
        last edited by Jan 7, 2019, 7:10 PM

        pfSense has no such handler for this use case. It's a routing firewall, not a net nanny.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jan 9, 2019, 5:56 PM

          You might be able to do that via Captive Portal. You have a combination of stuff there that I've not tried, time-limit, MAC auth and presumably auto refreshing each day. But it might be possible.

          Steve

          1 Reply Last reply Reply Quote 0
          • T
            timbuckto
            last edited by Oct 2, 2019, 2:24 PM

            Check out the link below for instructions on doing this. Basically, you create a schedule, then enforce it through the firewall access rules.

            You can create Alias' for a group of devices. I would suggest using static DHCP addresses for those devices based on their MAC addresses. That way, if your kids get smart to the fact that it could be getting blocked based on the hostname, it won't matter if they change their hostname as it would be blocked based on their MAC address. Just remember you'll need to have an allow and deny schedule for days throughout the year. This will take some serious leg work and is not just a switch that can be turned on or off automatically for special long weekends or holiday weeks.

            [http://hometechhowto.com/how-to-set-up-a-schedule-in-pfsense/](link url)

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by stephenw10 Oct 2, 2019, 2:30 PM Oct 2, 2019, 2:28 PM

              Erm no, that won't do a time limit. That's just time based rules.
              You need to use Captive Portal and radius accounting to achieve this sort of setup.

              Steve

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received