Chapter 43. Securing Your Network
43.9.6. IPTables and IPv6
If the iptables-ipv6 package is installed, netfilter in Red Hat Enterprise Linux can filter the next-
generation IPv6 Internet protocol. The command used to manipulate the IPv6 netfilter is ip6tables.
Most directives for this command are identical to those used for iptables, except the nat table is
not yet supported. This means that it is not yet possible to perform IPv6 network address translation
tasks, such as masquerading and port forwarding.
Rules for ip6tables are saved in the /etc/sysconfig/ip6tables file. Previous rules saved by
the ip6tables initscripts are saved in the /etc/sysconfig/ip6tables.save file.
Configuration options for the ip6tables init script are stored in /etc/sysconfig/ip6tables-
config, and the names for each directive vary slightly from their iptables counterparts.
For example, the iptables-config directive IPTABLES_MODULES:the equivalent in the
ip6tables-config file is IP6TABLES_MODULES.
43.9.7. Additional Resources
Refer to the following sources for additional information on packet filtering with iptables.
Section 43.8, "Firewalls"
•
strategy as well as strategies for constructing firewall rules.
43.9.7.1. Installed Documentation
• man iptables — Contains a description of iptables as well as a comprehensive list of targets,
options, and match extensions.
43.9.7.2. Useful Websites
http://www.netfilter.org/
•
about iptables, including a FAQ addressing specific problems and various helpful guides by
Rusty Russell, the Linux IP firewall maintainer. The HOWTO documents on the site cover subjects
such as basic networking concepts, kernel packet filtering, and NAT configurations.
http://www.linuxnewbie.org/nhf/Security/IPtables_Basics.html
•
move through the Linux kernel, plus an introduction to constructing basic iptables commands.
724
— Contains a chapter about the role of firewalls within an overall security
— The home of the netfilter/iptables project. Contains assorted information
— An introduction to the way packets