Firewall rules are sticky. version 26.1.1 (tested with ping)
When i create a rule, it don't matter if it is a rule or a rule [new]
ip4 any to any
After starting this the rule is applied as expected.
When I turn off the rule
my ping request still running fine (also in a new session)
I have to reboot the firewall and than the rule is not valid any more.
See the first note in the docs (https://docs.opnsense.org/manual/firewall.html#states)? A reboot is not neccessary.
Thank you for the answer.
Still it is a strange behavior.
Better was a question to leave the states active or reset them right away.