iptables rule order
Solution 1:
Yes, the rules will be executed in that order. Assuming there are no other interrelated rules not displayed in your question, this won't deny the host with -s ip_address
ip address. If you want that ip address to be rejected, replace -A
(Append) with -I
(Insert).
/sbin/iptables -I -p all -s ip_address -j REJECT