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 22.214.171.124 I see this output:
ACCEPT all -- 126.96.36.199 0.0.0.0/0 DROP all -- 188.8.131.52 0.0.0.0/0 ACCEPT all -- 0.0.0.0/0 184.108.40.206 DROP all -- 0.0.0.0/0 220.127.116.11
How will iptables process these rules? Will all traffic from 18.104.22.168 be dropped?