After specifying the matching criterion, a second part of all rules is the target. This is the action that has to be performed when a rule matches a packet. All rules have a target, and the following targets are available:
ACCEPT: Use this target to allow the packet.
REJECT: The packet is discarded, and a message is sent to the sender of the packet.
DROP: The packet is discarded, and no message is sent to the sender of the packet.
LOG: The packet is logged. Note that this is the only target that doesn't stop the packet from further evaluation.
Was this article helpful?