netfilter/iptables



(Back to docs.huihoo.com)

Introduction

netfilter is a set of hooks inside the Linux kernel that allows kernel modules to register callback functions with the network stack. A registered callback function is then called back for every packet that traverses the respective hook within the network stack.

iptables is a generic table structure for the definition of rulesets. Each rule within an IP table consists of a number of classifiers (iptables matches) and one connected action (iptables target).

netfilter, ip_tables, connection tracking (ip_conntrack, nf_conntrack) and the NAT subsystem together build the major parts of the framework.

Documents

• netfilter/iptables FAQ
• The Double NAT MINI-HOWTO
• Netfilter Extensions HOWTO
• Linux netfilter Hacking HOWTO
• netfilter.org mirror setup HOWTO
• Linux Networking-concepts HOWTO
• Linux 2.4 Packet Filtering HOWTO
• Linux 2.4 NAT HOWTO

Links

• netfilter/iptables homepage