mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-23 08:34:39 +00:00
Compare commits
No commits in common. "8822b541d001cbb821ad5d86baf09796ed1a4980" and "7604b1a3b05d5c06fcaa696ff7713a415616e3fe" have entirely different histories.
8822b541d0
...
7604b1a3b0
1 changed files with 2 additions and 2 deletions
4
x-ui.sh
4
x-ui.sh
|
@ -1332,7 +1332,7 @@ EOF
|
|||
|
||||
cat << EOF > /etc/fail2ban/action.d/3x-ipl.conf
|
||||
[INCLUDES]
|
||||
before = iptables-allports.conf
|
||||
before = iptables-common.conf
|
||||
|
||||
[Definition]
|
||||
actionstart = <iptables> -N f2b-<name>
|
||||
|
@ -1413,7 +1413,7 @@ iplimit_main() {
|
|||
3)
|
||||
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
|
||||
if [[ $? == 0 ]]; then
|
||||
fail2ban-client reload --restart --unban 3x-ipl
|
||||
systemctl restart fail2ban
|
||||
truncate -s 0 "${iplimit_banned_log_path}"
|
||||
echo -e "${green}All users Unbanned successfully.${plain}"
|
||||
iplimit_main
|
||||
|
|
Loading…
Reference in a new issue