Shorewall on OpenVZ containers

decibel83

Renowned Member
Oct 15, 2008
210
1
83
Hi.
I need to install Shorewall on a OpenVZ virtual machine running on Proxmox, but I receive this error:

Code:
ERROR: Your kernel/iptables do not include state match support. No version of Shorewall will run on this system

How I can enable the support on the kernel to let me use Shorewall without problems?

Thank you very much!
Bye.
 
you have to add in /etc/vz/vz.conf in the IPTABLES variables (at very end of the vz.conf) ipt_state