Status for the jail: sshd |- Filter | |- Currently failed: 0 | |- Total failed: 5 | `- Journal matches: _SYSTEMD_UNIT=sshd.service + _COMM=sshd `- Actions |- Currently banned: 1 |- Total banned: 2 `- Banned IP list: 192.168.10.5
6. 手动解封 IP
如果误封了正常 IP,使用以下命令解封:
1 2
# 语法:fail2ban-client set [服务名] unbanip [IP地址] sudo fail2ban-client set sshd unbanip 192.168.1.x