IP Tables kernel module not working inside container

adam1000

New Member
Dec 2, 2011
6
0
1
I'm trying to run IP tables inside a container. I've updated /etc/vz/vz.conf and restarted as per the instructions here: http://forum.proxmox.com/threads/9281-Problem-with-container-iptables

However when I initialize my firewall script inside the container I get the following message:
Code:
FATAL: Module ip_conntrack_ftp not found.
iptables: No chain/target/match by that name.

I ran lsmod | grep ip on the host and it seems all modules are loaded:
Code:
ip6t_REJECT             4743  0 
ip6table_mangle         3637  0 
ip6table_filter         3001  0 
ip6_tables             19714  2 ip6table_mangle,ip6table_filter
ipt_REDIRECT            1888  0 
iptable_nat             6270  0 
nf_nat                 23116  5 vzrst,ipt_REDIRECT,nf_nat_irc,nf_nat_ftp,iptable_nat
nf_conntrack_ipv4       9946  3 iptable_nat,nf_nat
nf_conntrack           80469  12 vzrst,vzcpt,nf_nat_irc,nf_nat_ftp,iptable_nat,nf_nat,xt_helper,xt_state,xt_conntrack,nf_conntrack_irc,nf_conntrack_ftp,nf_conntrack_ipv4
nf_defrag_ipv4          1531  1 nf_conntrack_ipv4
ipt_LOG                 6405  0 
ipt_REJECT              2431  0 
xt_multiport            2812  0 
iptable_mangle          3461  0 
iptable_filter          2905  0 
ip_tables              18151  3 iptable_nat,iptable_mangle,iptable_filter
ipv6                  327125  82 vzrst,ip6t_REJECT,ip6table_mangle,ib_addr

Does anyone have any suggestions?