43df5c
# sample configuration for ip6tables service
43df5c
# you can edit this manually or use system-config-firewall
43df5c
# please do not ask us to add additional ports/services to this default configuration
43df5c
*filter
43df5c
:INPUT ACCEPT [0:0]
43df5c
:FORWARD ACCEPT [0:0]
43df5c
:OUTPUT ACCEPT [0:0]
43df5c
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
43df5c
-A INPUT -p ipv6-icmp -j ACCEPT
43df5c
-A INPUT -i lo -j ACCEPT
43df5c
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
43df5c
-A INPUT -d fe80::/64 -p udp -m udp --dport 546 -m state --state NEW -j ACCEPT
43df5c
-A INPUT -j REJECT --reject-with icmp6-adm-prohibited
43df5c
-A FORWARD -j REJECT --reject-with icmp6-adm-prohibited
43df5c
COMMIT