Iptables is the tool that is used to manage netfilter, the standard packet filtering and manipulation framework under Linux. It is used to setup, inspect and maintain tables of IPv4 packet filter rules in the Linux kernel. Questions pertaining to maintaining tables of packet filters in Linux must be tagged under this tag.
The package can be installed from THIS PAGE
More details about this package is available on THIS DOCUMENTATION LINK