Answer the question
In order to leave comments, you need to log in
How to reorder iptables fail2ban rules?
There is a chain of rules
Chain INPUT (policy ACCEPT 688 packets, 241K bytes)
num pkts bytes target prot opt in out source destination
1 166 65746 fail2ban-some-rules udp -- * * 0.0.0.0/0 0.0.0.0/0
2 30 3629 fail2ban-some-rules tcp -- * * 0.0.0.0/0 0.0.0.0/0
3 21 1532 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
4 8 798 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
5 0 0 ACCEPT all -- eth0 * 8.8.8.8 0.0.0.0/0
6 5 3556 DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0
1 166 65746 fail2ban-some-rules udp -- * * 0.0.0.0/0 0.0.0.0/0
2 30 3629 fail2ban-some-rules tcp -- * * 0.0.0.0/0 0.0.0.0/0
1 166 65746 fail2ban-some-rules udp -- * * 0.0.0.0/0 0.0.0.0/0
2 30 3629 fail2ban-some-rules tcp -- * * 0.0.0.0/0 0.0.0.0/0
6 5 3556 DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question