This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| fail2ban [2023/07/10 18:41] – created - external edit 127.0.0.1 | fail2ban [2024/07/23 16:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| copy jail.conf to jail.local | copy jail.conf to jail.local | ||
| - | cp / | + | < | 
| open jail.local | open jail.local | ||
| - | nano / | + | < | 
| scroll down to the section [SSHD] | scroll down to the section [SSHD] | ||
| Line 14: | Line 14: | ||
| [sshd] | [sshd] | ||
| - | # To use more aggressive sshd modes set filter parameter " | + | To use more aggressive sshd modes set filter parameter " | 
| - | # normal (default), ddos, extra or aggressive (combines all). | + | |
| - | # See " | + | |
| - | #mode = normal | + | |
| - | logpath = / | + | -normal (default), | 
| + | |||
| + | -ddos, | ||
| + | |||
| + | -extra or | ||
| + | |||
| + | -aggressive (combines all). | ||
| + | |||
| + | See " | ||
| + | mode = normal | ||
| + | |||
| + | < | ||
| backend = auto | backend = auto | ||
| enabled = true | enabled = true | ||
| Line 27: | Line 35: | ||
| findtime = 300 | findtime = 300 | ||
| bantime = 86400 | bantime = 86400 | ||
| - | ignoreip = 127.0.0.1 192.168.0.* | + | ignoreip = 127.0.0.1 192.168.0.*</ |