Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Fail2ban not banning on SSH and VESTA

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
ServerHost
Posts: 25
Joined: Fri May 05, 2017 12:18 am

Fail2ban not banning on SSH and VESTA
  • Quote

Post by ServerHost » Wed Feb 07, 2018 4:59 pm

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?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Fail2ban not banning on SSH and VESTA
  • Quote

Post by skamasle » Tue Feb 13, 2018 7:07 pm

Hi

Try

Code: Select all

cd /etc
wget http://c.vestacp.com/0.9.8/ubuntu/fail2ban.tar.gz -O fail2ban.tar.gz 
Top

ServerHost
Posts: 25
Joined: Fri May 05, 2017 12:18 am

Re: Fail2ban not banning on SSH and VESTA
  • Quote

Post by ServerHost » Wed Feb 14, 2018 1:19 pm

skamasle wrote: ↑
Tue Feb 13, 2018 7:07 pm
Hi

Try

Code: Select all

cd /etc
wget http://c.vestacp.com/0.9.8/ubuntu/fail2ban.tar.gz -O fail2ban.tar.gz 
Thanks for your attention, but this has already been installed by default on vesta.
At the moment SSH is still not being blocked.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Fail2ban not banning on SSH and VESTA
  • Quote

Post by skamasle » Wed Feb 14, 2018 7:36 pm

Yes, in some cases you need download it, because vesta miss that files

Check if there are correct vesta.conf in your fail2ban/* dirs
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password