This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ubuntu:fail2ban [2019/02/12 13:15] – lunetikk | linux:ubuntu:fail2ban [2019/10/29 10:45] (current) – lunetikk | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| port = 22 | port = 22 | ||
| filter | filter | ||
| + | # | ||
| + | # | ||
| logpath | logpath | ||
| maxretry = 3 | maxretry = 3 | ||
| Line 71: | Line 73: | ||
| </ | </ | ||
| - | ===== Troubleshooting | + | ===== Abusemails | 
| - | ==== IP gets banned everytime ==== | + | Click the following link for more info about abuse automatisation\\ | 
| - | + | [[linux:ubuntu:blocklist|Blocklist]] | |
| - | An IP listed in " | + | |
| - | + | ||
| - | __Reason:__ \\ | + | |
| - | The IP was banned before you added it to " | + | |
| - | + | ||
| - | __Fix:__ \\ | + | |
| - | The IP is added to the file "ip.blocklist.repeatoffender" | + | |
| - | Open the file and remove the IP. | + | |
| ===== Commands ===== | ===== Commands ===== | ||
| Line 93: | Line 87: | ||
| fail2ban-client set ssh unbanip 192.168.178.1 | fail2ban-client set ssh unbanip 192.168.178.1 | ||
| </ | </ | ||
| - | |||
| - | click the following link for more info on abuse automatisation\\ | ||
| - | [[linux: | ||
| ==== Ban ==== | ==== Ban ==== | ||
| Line 109: | Line 100: | ||
| Get a list of commands | Get a list of commands | ||
| < | < | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== IP gets banned everytime ==== | ||
| + | |||
| + | An IP listed in " | ||
| + | |||
| + | __Reason:__ \\ | ||
| + | The IP was banned before you added it to " | ||
| + | |||
| + | __Fix:__ \\ | ||
| + | The IP is added to the file " | ||
| + | Open the file and remove the IP. | ||
| + | |||