ChainHook defines the network stack hook point where a base chain is attached. When a packet reaches a specific hook point, all chains associated with that hook are evaluated.
Values
| Enum Value | Description |
|---|---|
|
|
Hook for incoming packets, before any routing decisions. |
|
|
Hook for packets destined for the local system. |
|
|
Hook for packets being forwarded through the local system. |
|
|
Hook for locally generated outgoing packets. |
|
|
Hook for outgoing packets, after routing decisions. |
|
|
Hook is not specified or unknown. |
Used by
Chaintype: Represents an nftables chain, which is a named list of rules that are executed in order.
Example
Example
"PREROUTING"