Hooks in inet families

Hooks in inet families

Content #

For the ip, ip6, and inet families the following hooks apply:

  1. prerouting Packets that have just arrived and haven’t yet been routed or processed by other parts of nftables.
  2. input Incoming packets that have been received and sent through the prerouting hook.
  3. forward If the packet will be sent to a different device, it will be available through the forward hook.
  4. output Packets outbound from processes on the local system.
  5. postrouting Just prior to leaving the system, the postrouting hook makes the packet available for further processing.

The ARP address family uses only the input and output hooks.

From #