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

SSH port - Fail2Ban

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

SSH port - Fail2Ban
  • Quote

Post by Ghillie-up » Fri Aug 21, 2015 10:07 am

Why does Vesta inject a rule in to IP tables -

-A fail2ban-SSH -s 195.x.x.x/32 -j REJECT --reject-with icmp-port-unreachable

However it doesn't block SSH. I change the port by default. So have been looking at config but unsure on what to change.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: SSH port - Fail2Ban
  • Quote

Post by skurudo » Fri Aug 21, 2015 10:50 am

Ghillie-up wrote: -A fail2ban-SSH -s 195.x.x.x/32 -j REJECT --reject-with icmp-port-unreachable
However it doesn't block SSH. I change the port by default. So have been looking at config but unsure on what to change.
It does block SSH, for IP. it's your IP - 195.x.x.x/32? How do you check then?
Top

Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

Re: SSH port - Fail2Ban
  • Quote

Post by Ghillie-up » Fri Aug 21, 2015 1:01 pm

Because I can still SSH to the box from that IP.

I also have a jump server i use for connectivity and viewing logs on a different IP in case it locks me out.
Top


Post Reply
  • Print view

3 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