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

    Firewall schedules not working

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 3 Posters 1.3k 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.
    • B
      blake
      last edited by

      I created a firewall rule to allow VOIP ports to be open. I placed the rule on a schedule to allow the ports to be open from 0700 - 2000. 7AM - 10PM Monday - Sunday but its not working. Its a virtual version of pfSense 6.0. Are there logs I can look at to troubleshoot the problem. What is the best way to troubleshoot the problem in order to fix it.
      New to pfSense
      Thanks

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

        What are you seeing that indicates it's not working?

        B 1 Reply Last reply Reply Quote 0
        • B
          blake @stephenw10
          last edited by

          @stephenw10 I can still make and receive calls.

          J 1 Reply Last reply Reply Quote 0
          • J
            Jarhead @blake
            last edited by

            @blake You don't say when you can still make calls but if it's after 8 the problem is 10PM is 2200 hrs.

            B 1 Reply Last reply Reply Quote 0
            • B
              blake @Jarhead
              last edited by

              @jarhead Sorry that should be 7 - 8 PM.

              Math was wrong.

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

                Can we see the rules you have set?

                1 Reply Last reply Reply Quote 0
                • B
                  blake
                  last edited by

                  @stephenw I have uploaded a image of the rule and schedule.

                  PfRule.jpg ScheduleFORVOIP.JPG

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

                    Hmm, well that rule looks OK but we have no way to know how it might behave with the other rules you may or maynot have there. Do you have any other pass rules on that interface?

                    Do you have 'Do not kill connections when schedule expires' set in Sys > Adv > Misc?

                    Steve

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      blake @stephenw10
                      last edited by

                      @stephenw10 said in Firewall schedules not working:

                      kill connections when schedule expires is not set.

                      Sorry for the delayed response. For some reason when a call is placed to a Asterisk phone it does not ring. But I can make and receive calls on the Asterisk phone and receive voice mail. Is just the ringer that has stopped working and I'm now trouble shooting the no ring problem. It was working before.

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

                        Wait, so the schedule is working as expected but you just cannot receive calls during the allowed schedule period?
                        That sounds far more like a SIP problem. Is this an internal or external PBX?

                        Steve

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          blake @stephenw10
                          last edited by blake

                          @stephenw10

                          Sorry for the confusion, but here is where I'm at with the pFsense firewall / schedule / Asterisk.

                          The schedule is not working.

                          The Asterisk server is internal.

                          The phones have stopped ringing when receiving a call. Other than that, the phones are working perfectly.

                          I must have clicked on something on the firewall, that has now caused the asterisk phones not to ring when receiving a call.

                          Back tracking my steps on what I did on the firewall. Nothing was done on the Asterisk server but will check it also.

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

                            OK so two seemingly independent problems.

                            The schedules rule appears to be on the WAN carrying SIP traffic port forwarded traffic to the PBX. That does not carry RTP traffic so calls would not immediately drop. Nor does it carry outbound SIP traffic so I would expect to still be able to place calls but not receive them outside of the schedule. Is that what you see?

                            Steve

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