Thanks again for continued updates. I currently have native IPv6 but cannot use this script to firewall it. My firewall machine is CentOS 5.5 and when running your script with IPv6 connectivity turned on i get
NOTE: Module "nf_conntrack_ipv6" failed to load. Assuming compiled-in-kernel.
NOTE: Modules "xt_TCPMSS|ipt_TCPMSS,ip6t_TCPMSS" failed to load. Assuming compiled-in-kernel.
these mod's dont exist in CentOS 5.5's ip6tables there for none of the rules apply
ERROR (2): ip6tables v1.3.5: Unknown arg `--clamp-mss-to-pmtu'
ERROR (2): ip6tables v1.3.5: Unknown arg `--set-tos'