fail2ban 에서 차단된 ip 해제 하기


root@hannim:/home/hannim# iptables -L fail2ban-vsftpd -v -n –line-numbers
Chain fail2ban-vsftpd (1 references)
num pkts bytes target prot opt in out source destination
1 77 3792 REJECT all — * * 120.142.197.172 0.0.0.0/0 reject-with icmp-port-unreachable
2 20 948 REJECT all — * * 218.155.99.133 0.0.0.0/0 reject-with icmp-port-unreachable
3 502 25372 REJECT all — * * 1.46.98.108 0.0.0.0/0 reject-with icmp-port-unreachable
4 34 1656 REJECT all — * * 1.47.4.24 0.0.0.0/0 reject-with icmp-port-unreachable
5 17 1136 REJECT all — * * 91.209.24.6 0.0.0.0/0 reject-with icmp-port-unreachable
6 34 1656 REJECT all — * * 1.47.101.78 0.0.0.0/0 reject-with icmp-port-unreachable
7 869 43884 REJECT all — * * 1.47.8.173 0.0.0.0/0 reject-with icmp-port-unreachable
8 4757 266K RETURN all — * * 0.0.0.0/0 0.0.0.0/0

root@hannim:/home/hannim# iptables -D fail2ban-vsftpd 1
root@hannim:/home/hannim# iptables -L fail2ban-vsftpd -v -n –line-numbers
Chain fail2ban-vsftpd (1 references)
num pkts bytes target prot opt in out source destination
1 20 948 REJECT all — * * 218.155.99.133 0.0.0.0/0 reject-with icmp-port-unreachable
2 502 25372 REJECT all — * * 1.46.98.108 0.0.0.0/0 reject-with icmp-port-unreachable
3 34 1656 REJECT all — * * 1.47.4.24 0.0.0.0/0 reject-with icmp-port-unreachable
4 17 1136 REJECT all — * * 91.209.24.6 0.0.0.0/0 reject-with icmp-port-unreachable
5 34 1656 REJECT all — * * 1.47.101.78 0.0.0.0/0 reject-with icmp-port-unreachable
6 869 43884 REJECT all — * * 1.47.8.173 0.0.0.0/0 reject-with icmp-port-unreachable
7 4757 266K RETURN all — * * 0.0.0.0/0 0.0.0.0/0


답글 남기기

이메일 주소는 공개되지 않습니다.