Security
An administrator must redirect inbound TCP traffic for port 8080 to an internal server at 10.0.0.5 by rewriting the destination address. The change must happen before the kernel makes its routing decision. At which Netfilter hook should the rule be applied?
Show the answer
Correct answerD. prerouting
Prerouting is evaluated before the routing decision, so destination NAT applied there changes where the packet is routed. Forward is tempting, but it runs after routing, so the destination would already have been decided and a rewrite there would be too late.