undo firewall rule deletion?

Started by defaultuserfoo, June 09, 2022, 03:31:27 PM

Previous topic - Next topic
June 09, 2022, 03:31:27 PM Last Edit: June 09, 2022, 03:37:48 PM by defaultuserfoo
Hi,

is there a way to undo the deletion of a firewall rule (at least before applying the changes)?

I wanted to delete a rule after it was disabled since some time, and either I must have clicked the wrong trashcan, or something else went wrong: The rule I wanted to delete is still there, and I can't see if anything has been deleted.  Now I want to undo ...

PS:

Ok, I found it in the history and recreated the rule.  But still, what good is a trashcan when you can't take the trash back out?

@defaultuserfoo

System->History->
Look for the date and time when you made the change.
-> if found then press the buttonin the line: restore

Hint:
- in the upper window you can see the changes roughly
- Attention: all changes above will be undone...

Greetings from Germany
OPNsense 22.7.9*WG-kmod*OpenSSL*OpenVPN* AdGuardHome*i7-7700*32GB*256SSD*ix0-1, igb0-4, em0*OpenVPN+Wireguard WG0, WG1*NetGear ProSafe XS508*AP Netgear WAX610*alles echtes Blech* Sorry, my English is translated via app*

June 11, 2022, 01:54:59 AM #2 Last Edit: June 11, 2022, 01:58:53 AM by defaultuserfoo
Thanks!  You mean the "leave" button that reverts?

I didn't scroll down to where the buttons are after I already found on top what I had been looking for ...

That's probably because nowadays they make the scroll bars so ridiculously small that you can't really see them anymore, and way too difficult to use :(  And it's probably too late make bug reports against that now ...