mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-13 19:49:12 +00:00
Compare commits
4 commits
7604b1a3b0
...
8822b541d0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8822b541d0 | ||
![]() |
49295661fd | ||
![]() |
90d22c7d22 | ||
![]() |
e4301f8d93 |
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-common.conf
|
||||
before = iptables-allports.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
|
||||
systemctl restart fail2ban
|
||||
fail2ban-client reload --restart --unban 3x-ipl
|
||||
truncate -s 0 "${iplimit_banned_log_path}"
|
||||
echo -e "${green}All users Unbanned successfully.${plain}"
|
||||
iplimit_main
|
||||
|
|
Loading…
Reference in a new issue