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,FORWARDandOUTPUTNAT: used to translate the packet source/destination field with chainsPREROUTING,OUTPUTandPOSTROUTINGMANGLE: packet alteration with chainsINPUT,FORWARD,POSTROUTING,PREROUTINGandOUTPUTRAW
Chains
INPUT: for packet to local machineFORWARD: for packet destined to another net
Jumps
- http://www.faqs.org/docs/iptables/targets.html