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

    Firewall schedule

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 607 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.
    • M
      michmoor LAYER 8 Rebel Alliance
      last edited by

      Hey netgate fam i have a hopefully simple question.
      For firewall schedules, is it possible to create a schedule that says 'Sat and Sun' only. It applies to all months all years.
      Its annoying having to go to each month and create the same rule logic instead of it just being days only regardless of month.

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @michmoor
        last edited by

        @michmoor also to add I’m getting flooded with email f

        /etc/
        re.filter configure_sync

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yes, just select the Sat and Sun header:

          Screenshot from 2022-09-06 13-21-26.png

          Screenshot from 2022-09-06 13-21-51.png

          The config that generates looks like:

          	<schedules>
          		<schedule>
          			<name>Weekends</name>
          			<descr></descr>
          			<timerange>
          				<position>6,7</position>
          				<hour>0:00-23:59</hour>
          				<rangedescr><![CDATA[Weekends Only]]></rangedescr>
          			</timerange>
          			<schedlabel>63173b49e68a8</schedlabel>
          		</schedule>
          	</schedules>
          

          Steve

          M 1 Reply Last reply Reply Quote 0
          • M
            michmoor LAYER 8 Rebel Alliance @stephenw10
            last edited by

            @stephenw10 Yep i figured out how the scheduling works. GUI isnt clear (at least to me) how to do a daily schedule or a monthly scedule. Months are presented so it feels like its implied that if you want to have a rule active only on the weekends, you need to select every weekend on every month but you actually dont. Documentation is not clear on this front either but nevertheless reviewing the xml stanza made everything make sense.
            Thanks Steve !

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

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