Iptables Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
==iptables==
==iptables==


<tt>iptables</tt> is a Linux userspace command line tool that manipulates the IPv4 network packet filtering rules.
<tt>iptables</tt> is a Linux userspace command line tool that manipulates the IPv4 network packet filtering rules. Packet filtering is most commonly used to implement firewalling functionality. It is also used to implement Network Address Translation (NAT).


==ip6tables==
==ip6tables==

Revision as of 17:49, 5 January 2016

Internal

netfilter, iptables tool, iptables service and firewalld

netfilter

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 for every packet that traverses the respective hook.

iptables

iptables is a Linux userspace command line tool that manipulates the IPv4 network packet filtering rules. Packet filtering is most commonly used to implement firewalling functionality. It is also used to implement Network Address Translation (NAT).

ip6tables

ip6tables is the equivalent command line tool that manipulates the IPv6 network packet filtering rules.

iptables and ip6tables Services

ipchains

ipfwadm

Chain

Rule