Navigation

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

    How to block internet at time interval

    Off-Topic & Non-Support Discussion
    2
    2
    933
    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.
    • N
      naslicer last edited by

      Hello team,

      i hope some one there have ever done it or has an idea how to do it. i have several subnets on my network and  for some reasons i want to block internet access to one subnet at night and during off official work time.

      i have fully installed and working pfsense firewall can someone give me the steps to fully do this.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis last edited by

        1. Go to Firewall->Schedules. Add a schedule for the days and times that you want to allow access.
        2. Add a rule at the top of the rules for the interface that allows (pass) all traffic, click "Display Advanced" at the bottom of the rule settings, choose the schedule.
        3. After the pass rule, put a block rule that blocks the traffic at all times.

        During the schedule period the pass will be in effect. Outside of the schedule, the pass rule will be disabled and the block rule will be in effect.

        If you have no other rules on the interface, then you can omit the block rule at step (3), if you like. The default action is to block anyway.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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