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

How to block internet at time interval

Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
2 Posts 2 Posters 1.1k 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.
  • N
    naslicer
    last edited by Jul 17, 2016, 6:48 AM

    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 Jul 17, 2016, 7:56 AM

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received