I'm testing a jail configuration, and sometimes I need to release falsely banned IPs from that jail. So not a specific IP, not everyone from all jails, but everyone from a given jail.
Closest I could find is
get JAIL actionunban ACT
, which requires me to specify an action, and feels like it's meant to be used for something else (also, what if I have multiple actions?).The docs mention the
stop
command:stop <JAIL> stops the jail <JAIL>. The jail is removed
- But I'm not sure if it will remove the jail completely?
- Plus it says nothing about unbanning the IPs.
- And I don't really need to stop the jail, I need it running. If I run
start <JAIL>
right away, will it restore the bans?
Some people also mention manually clearing the iptables rules, but that doesn't feel like the right way to handle this.
All I need is to reset the jail, i.e. release everyone from the jail as if they were never banned, and immediately move on. Feel like this should be easy, but googling since yesterday, and can't find an exact answer. Please help.