Howto ban IP with Fail2Ban manually by command line?

后端 未结 3 1618
死守一世寂寞
死守一世寂寞 2021-02-01 16:01

How do I ban an attacker IP with Fail2Ban manually by command line?

3条回答
  •  情话喂你
    2021-02-01 16:49

    fail2ban-client -vvv set JAIL banip WW.XX.YY.ZZ

    Check the jail where to add the IP using fail2ban-client status

    Both commands may require to be executed as sudoer. In this case add a sudo before them.

提交回复
热议问题