Iptables
# apt-get install iptables
iptables
uses policy chains to decide the path of a packet to, from, through your system.
Tables
FILTER
: is the default table with chainsINPUT
,FORWARD
andOUTPUT
NAT
: used to translate the packet source/destination field with chainsPREROUTING
,OUTPUT
andPOSTROUTING
MANGLE
: packet alteration with chainsINPUT
,FORWARD
,POSTROUTING
,PREROUTING
andOUTPUT
RAW
Chains
INPUT
: for packet to local machineFORWARD
: for packet destined to another net
Jumps
- http://www.faqs.org/docs/iptables/targets.html