[SOLVED]How long does it take for a FW rule change to take effect after applying

Started by swILeZBa, January 21, 2023, 09:48:59 AM

Previous topic - Next topic
As per the title.
I see videos where they change a FW rule and then proceed to see its effects immediately, however my experience hasn't been the same. I normally change the rules press apply changes and it doesn't seem to have an effect before some time passes.
How long does it take before the changes are actually effective?

Thanks for any help.
S

The rules are effective immediately. However established connections that e.g. were allowed and are now supposed to be denied, will continue to work because OPNsense is a stateful firewall. You would need to clear the state table in this case.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Changing rules from block to allow should be applied immediately, changing from allow to block requires resetting the states as allowed traffic remains allowed until the states are expired or killed.
i am not an expert... just trying to help...

Quote from: pmhausen on January 21, 2023, 09:52:43 AM
The rules are effective immediately. However established connections that e.g. were allowed and are now supposed to be denied, will continue to work because OPNsense is a stateful firewall. You would need to clear the state table in this case.
Quote from: tiermutter on January 21, 2023, 09:53:56 AM
Changing rules from block to allow should be applied immediately, changing from allow to block requires resetting the states as allowed traffic remains allowed until the states are expired or killed.
Thank you very much for the helpful explanations.