In the Sys V init.d startup script for ip6tables, when stopping it tries to flush the IPv6 nat table, which does not always exist, producing an error like this: root@super/etc/init.d> ./ip6tables stop * Stopping firewall... modprobe: Can't locate module ip6_tables ip6tables v1.2.8: can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. [ ok ] It gets those table names from /proc/net/ip_tables_names, but it should actually be /proc/net/ip6_tables_names, IMHO. This is in net-firewall/iptables-1.2.8-r1. It does work when I add the '6': Old: for a in `cat /proc/net/ip_tables_names`; do New: for a in `cat /proc/net/ip6_tables_names`; do
Fixed, thanks for finding this!