iptables -L是否按执行顺序显示规则?

当我在看iptables -L的输出

# iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT udp -- anywhere anywhere udp dpt:1194 DROP all -- anywhere ip-xxxnydsl.com DROP all -- anywhere anywhere state INVALID 

我一直认为规则是从上到下执行的。 但阅读文档,我还没有能够validation。 谁能确认?

是的,它(

如果数据包不匹配,链中的下一个规则是检查

)。 顺便说一下, iptables-save提供了一种更可读的输出方式。