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

    Some wrong with the firewall rule to Set the Internet time

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 714 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.
    • P Offline
      phoenixtec
      last edited by

      Hello,

      I use pfSense 2.3.4-RELEASE (amd64) built on Wed May 03 15:13:29 CDT 2017 .

      I add a Schedule(18:00-22:00) in the rule "Default allow lan to any".

      But I found that the game http://www.ubisoft.com.tw/grw/ can still keep connect to internet after 22:00.

      I list the situation below:

      IF the PC start the game before 22:00 then the internet will keep connect.

      But if the PC start the game after 22:00 then the PC can't connect to internet.

      In firewall rule there was no traffic in "states", but i can see traffic of the PC in "Status–>Traffic Graph" with interface set lan.

      Please help

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

        To prevent that behavior, you need to make all scheduled rules be pass rules - so put a scheduled pass rule for the trafic during the hours that you want it to pass. Then after that put a block rule for the same traffic without any schedule.

        Then pfSense will know all the states that match the scheduled pass rule, and when the pass rule scheduled time finishes, pfSense will remove those states - so the traffic will stop.

        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
        • P Offline
          phoenixtec
          last edited by

          Thank you.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.