I've been having some trouble with a firewall blocking traffic between two servers recently and want to check how iptables handles multiple rules applying to the same IP. If I run
iptables -L -n | grep 18.104.22.168 I see this output:
ACCEPT all -- 22.214.171.124 0.0.0.0/0 DROP all -- 126.96.36.199 0.0.0.0/0 ACCEPT all -- 0.0.0.0/0 188.8.131.52 DROP all -- 0.0.0.0/0 184.108.40.206
How will iptables process these rules? Will all traffic from 220.127.116.11 be dropped?