18.6. ip6tables and IPv6

18.6. ip6tables and IPv6

If the iptables-ipv6 package is installed, netfilter under 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.

Saved rules for ip6tables are stored in the /etc/sysconfig/ip6tables file. Old rules saved by the ip6tables initscripts are saved in the /etc/sysconfig/ip6tables.save file.

The configuration file for ip6tables initscript is /etc/sysconfig/ip6tables-config and the names for each directive vary slightly. For instance, the iptables-config directive IPTABLES_MODULES is IP6TABLES_MODULES in the ip6tables-config file.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-4 because CentOS-4 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-4 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.