Blocking all traffic with a schedule, but the schedule doesn't reset the states
-
Hi. I've made a simple firewall rule to stop all traffic at night and set a schedule to this rule, but it doesn't work. To make it work I have to manually reset the states, but this kind of ruins the purpose of the schedule. What must I do to fix this?
-
There is a fix for this on 2.0 i am not sure if 1.2.1 has the fix.
Try
sysctl -a | grep pfil
if it gives some output like
net.inet.ip.pfil.inbound="pf, ipfw"
try to execute
sysctl net.inet.ip.pfil.inbound="ipfw,pf"
and the same for outbound. It should fix your problems.
-
I tryed to execute these commands, but I can't say that it worked. Could you explain a little what these commands do? And shoud just executing them anytime fix the problem for any schedule and firewall rule I make in the future?
-
in 1.2 this works as it should and i think in 1.21 killing the firewall states should also working