Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    How can I give my kids 1 extra hour?

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 362 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.
    • A Offline
      adamoutler
      last edited by

      The situation:
      My kids keep staying up late using the internet.  So I bought pfSense to turn off their internet via scheules, rules and aliases.  This works well.

      The Problem:
      Sometimes they need an extra hour to finish homework. After the homework is done I must remember to log back in and turn on the rule again.  But sometimes I forget.

      I found some nice cheat sheets like https://gist.github.com/tracphil/4353170, and I'm able to list the rules by listing the commands and grepping for night.

      pfctl -vvsa | grep night
      

      But I can't seem to find a way to ssh in and execute a command which will disable and enable a firewall rule after an hour.

      Question:
      How can I set a rule to be temporarily disabled?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy