[CentOS] IPv6 on Centos 6

Mon Aug 13 19:16:38 UTC 2012
Alan Batie <alan at peak.org>

On 8/13/12 12:00 PM, James Hogarth wrote:

> Are you allowing ICMPv6? I don't just mean echo and echo-reply (the
> pings above) but most of the rest of it too?

Yes, the test system has the default ip6tables, but we always permit icmp:

# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p ipv6-icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp6-adm-prohibited
-A FORWARD -j REJECT --reject-with icmp6-adm-prohibited
COMMIT