Last edit
Summary: g
Changed:
< fail2ban-client status ssh-iptables
to
> fail2ban-client status sshd
Changed:
< fail2ban-client set ssh-iptables banip 47.54.168.212
to
> fail2ban-client set sshd banip 47.54.168.212
Changed:
< * Then for each jail, say the jail is "ssh-iptables-alt" do
< fail2ban-client set ssh-iptables unbanip 47.54.168.212
to
> * Then for each jail, say the jail is "sshd" do
> fail2ban-client set sshd unbanip 47.54.168.212
is the "ignoreip" list in /etc/fail2ban/jail.conf
fail2ban-regex -v /var/log/httpd_access /etc/fail2ban/filter.d/oddmuse.conf
fail2ban-client reload
Get the list of jails:
fail2ban-client status
fail2ban-client status sshd
fail2ban-client set sshd banip 47.54.168.212
fail2ban-client set sshd unbanip 47.54.168.212