• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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