fail2ban_commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fail2ban_commands [2016/09/04 15:29] – luke7858 | fail2ban_commands [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | === View Current Jails === | ||
| What current jails are there? | What current jails are there? | ||
| <sxh bash> | <sxh bash> | ||
| Line 4: | Line 5: | ||
| Status | Status | ||
| |- Number of jail: 1 | |- Number of jail: 1 | ||
| - | `- Jail list: | + | `- Jail list: wp-login, |
| </ | </ | ||
| + | \\ | ||
| + | === Viewing Jail Information === | ||
| Viewing the status of that jail such as: total banned, blocked IPs, number of failed attempts | Viewing the status of that jail such as: total banned, blocked IPs, number of failed attempts | ||
| <sxh bash> | <sxh bash> | ||
| Line 21: | Line 24: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | == Unban IP == | + | === Ignore IP === |
| + | <sxh bash> | ||
| + | # fail2ban-client ssh-iptables set addignoreip x.x.x.x | ||
| + | These IP addresses/ | ||
| + | |- 127.0.0.1/ | ||
| + | `- 7x.x.x.x | ||
| + | </ | ||
| + | Getting the IPs | ||
| + | <sxh bash> | ||
| + | # fail2ban-client get ssh-iptables ignoreip | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | === Unban IP === | ||
| Fail2Ban < v0.8.8: | Fail2Ban < v0.8.8: | ||
| \\ | \\ | ||
fail2ban_commands.1473002954.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
