openvz and iptables
Posted
by rizen
on Server Fault
See other posts from Server Fault
or by rizen
Published on 2010-04-05T16:39:07Z
Indexed on
2010/04/05
16:43 UTC
Read the original article
Hit count: 739
http://wiki.openvz.org/Setting_up_an_iptables_firewall mentions to load xt_state before starting a container in order to run iptables in containers. so I ran modprobe xt_state on the host and restarted the container and it worked great. To make this persist I added xt_state to /etc/modules.
The problem is when I restart the physical node the containers iptables wont work unless I manually restart the container, at which point it'll work again. lsmod shows that xt_state is loaded. anyone know why my containers iptables won't work until I manually restart the container?
© Server Fault or respective owner