Firewall schedules not working
-
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 -
What are you seeing that indicates it's not working?
-
@stephenw10 I can still make and receive calls.
-
@blake You don't say when you can still make calls but if it's after 8 the problem is 10PM is 2200 hrs.
-
@jarhead Sorry that should be 7 - 8 PM.
Math was wrong.
-
Can we see the rules you have set?
-
@stephenw I have uploaded a image of the rule and schedule.
-
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
-
@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.
-
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
-
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.
-
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