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"

...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!