问题原文
原帖链接 · Shubham Jairath · CC BY-SA 3.0
I am playing around iptables to filter the packets coming and going. What will be the result of following rules?
iptables -A INPUT -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -s 192.168.1.0/24 -j DROP
已采纳解答
原帖链接 · EEAA · CC BY-SA 3.0
Iptables (and most firewall software) operates on a concept of first match wins, so if the rules are in the order posted above, the ACCEPT will match first and will be the effective policy applied to the packet.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
