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