Security
A Linux router has IP forwarding enabled. A packet arrives on one interface, addressed to a host on a different network behind another interface. In which order does the packet pass through the Netfilter hooks?
Show the answer
Correct answerB. prerouting, forward, postrouting
Forwarded traffic passes prerouting, then forward after the routing decision, then postrouting as it leaves. Input and output apply only to packets destined for, or generated by, the local host, so a path through input is the tempting but wrong choice.