Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to new Confluence 3.5 bash option for code display.

...

I like to make adjustments as follows,

Code Block
langlanguagehtmlbash
sudo touch /etc/fail2ban/jail.local
sudo ne /etc/fail2ban/jail.local # using ne to edit the file

Add the following to the file,

Code Block
langlanguagehtmlbash
# The DEFAULT allows a global definition of the options. They can be override
# in each jail afterwards.

[DEFAULT]

maxretry = 10

For configuration changes to take effect you need to restart the service,

Code Block
langlanguagehtmlbash
sudo /etc/init.d/fail2ban stop
sudo /etc/init.d/fail2ban start