Problem with container iptables

carlos.jc

New Member
Apr 18, 2012
5
0
1
Hi

I'm installing Proxmox 2.0 and created a container with a template of ubuntu 10.04 64 bit, working with iptables to this container the following rules do not work:

- append INPUT - match state - state ESTABLISHED, RELATED - jump ACCEPT

- append OUTPUT - match state - state ESTABLISHED, RELATED - jump ACCEPT

I would appreciate if you could help me with this problem.

thanks
 
Code:
cat /etc/vz/vz.conf 

...

## IPv4 iptables kernel modules to be enabled in CTs by default
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT xt_mac ipt_owner"
## IPv4 iptables kernel modules to be loaded by init.d/vz script
IPTABLES_MODULES="$IPTABLES"

...