ubuntu:fail2ban:override_the_default_configuration_settings
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:fail2ban:override_the_default_configuration_settings [2025/05/30 21:18] – created peter | ubuntu:fail2ban:override_the_default_configuration_settings [2025/05/30 21:29] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - Fail2Ban - Override the default configuration settings ====== | ====== Ubuntu - Fail2Ban - Override the default configuration settings ====== | ||
- | Edit that **/ | + | Edit the **/ |
- | + | ||
- | * As the only service currently being monitored is sshd, for now changes will be overridden for sshd. | + | |
<file bash / | <file bash / | ||
Line 13: | Line 11: | ||
[sshd] | [sshd] | ||
enabled = true | enabled = true | ||
- | |||
- | # override the default values for the sshd service | ||
- | bantime = 600 | ||
- | findtime = 3m | ||
- | maxretry = 5 | ||
- | action = %(action_mw)s | ||
</ | </ | ||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | |||
+ | * Of course, if there is a need to override settings for the sshd service as well, then go ahead with changes in the sshd section. | ||
+ | * See [[Ubuntu: | ||
+ | </ | ||
---- | ---- |
ubuntu/fail2ban/override_the_default_configuration_settings.1748639884.txt.gz · Last modified: 2025/05/30 21:18 by peter