Fail2ban not banning on SSH and VESTA
-
- Posts: 25
- Joined: Fri May 05, 2017 12:18 am
Fail2ban not banning on SSH and VESTA
I installed a VPS with Debian 8 + Vesta 0.9.8.19.
## VESTA
To test I got my password wrong 6x when trying to access https://ip_server:8083. Fail2Ban sends the email informing that the IP has been banned, but the IP is not blocked.
## SSH
IP is not blocked after attempts have been exceeded and also does not send the email. I changed the ssh port to 22220 but it also does not block.
Can someone help me?
## VESTA
To test I got my password wrong 6x when trying to access https://ip_server:8083. Fail2Ban sends the email informing that the IP has been banned, but the IP is not blocked.
## SSH
IP is not blocked after attempts have been exceeded and also does not send the email. I changed the ssh port to 22220 but it also does not block.
Can someone help me?
Re: Fail2ban not banning on SSH and VESTA
Hi
Try
Try
Code: Select all
cd /etc
wget http://c.vestacp.com/0.9.8/ubuntu/fail2ban.tar.gz -O fail2ban.tar.gz
-
- Posts: 25
- Joined: Fri May 05, 2017 12:18 am
Re: Fail2ban not banning on SSH and VESTA
Thanks for your attention, but this has already been installed by default on vesta.skamasle wrote: ↑Tue Feb 13, 2018 7:07 pmHi
Try
Code: Select all
cd /etc wget http://c.vestacp.com/0.9.8/ubuntu/fail2ban.tar.gz -O fail2ban.tar.gz
At the moment SSH is still not being blocked.
Re: Fail2ban not banning on SSH and VESTA
Yes, in some cases you need download it, because vesta miss that files
Check if there are correct vesta.conf in your fail2ban/* dirs
Check if there are correct vesta.conf in your fail2ban/* dirs