OpenVZ containers inherit the kernel and modules from the host node. Because of this you cant load new kernel modules in an OpenVZ/LXC container. I would ensure that the hostnode has the ip6_tables
kernel module either compiled into the kernel or loaded as a module.
This is a problem because OpenVZ is Paravirtualization, meaning that it shares the same kernel with the host node. Because you share the same kernel as the other OpenVZ containers, you can't load modules into the kernel. With Hardware virtual machines you get to run your own kernel and can then load/unload kernel modules, or compile your own kernel to use. The question linked below covers the differences in more detail.
What is the difference between Full, Para and Hardware assisted virtualization?
Sadly when you only have access to the Guest OpenVZ environment determining if the IPv6 IPtables module is loaded can be a bit hard as lsmod
, /proc/modules
, and /proc/config.gz
often do not exist inside OpenVZ.
Because of this, you might just have to contact your provider as someone with root access on the host node will have to load this kernel module for you.