Netfilter/iptables
Netfilter command structure:
Consists of four tables:
Filter: performs packet filtering
Nat: address translation
Mangle: modify packet content
Raw: speed up packet transmission and improve firewall performance
There are five kinds of hook functions:
PREROUTING
INPUT
OUTPUT
FORWARD
POSTROUTING