How to add several IP addresses into whitelist Fail2ban via CLI?

Follow

Comments

5 comments

  • Avatar
    Pascal Devif

    Is there a way to use this command and add a description as we can do by GUI ?

    2
    Comment actions Permalink
  • Avatar
    Nico Wiedemann (Edited )

    Although it is undocumented on the web docs, there is the option to add

    -description "reason for whitelisting"

    to the command.

    1
    Comment actions Permalink
  • Avatar
    Pascal Devif

    Thx !

    0
    Comment actions Permalink
  • Avatar
    Jerome Eschweiler

    Thank you Nico for answering the question, it was added to the article

    0
    Comment actions Permalink
  • Avatar
    Nico Wiedemann

    May I suggest updating the outdated documentation?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request