• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

CLI: fail2ban activation confirmation

EveMauta

Basic Pleskian
Hi,
I found lot of documentation to configure fail2ban under cli:
/usr/local/psa/bin/ip_ban --info
/usr/local/psa/bin/ip_ban --add-trusted 10.0.0.1
/usr/local/psa/bin/ip_ban --jails
/usr/local/psa/bin/ip_ban --enable-jails ssh

For CENTOS, does this is the correct way to enable disable fail2ban service as GUI ?
chkconfig --add fail2ban
chkconfig fail2ban on
service fail2ban start

Service stop start, change the box in the GUI so I imagine it's the correct way to do this.

Could you confirm this ?

Best regards
Eve
 
Just use

# /etc/rc.d/init.d/fail2ban start
# /etc/rc.d/init.d/fail2ban stop
 
Back
Top