I believe that your problem is the --to-ports rules.
For simple masquerading you just need the third rule.
I'm no expert, but i think your rules are a bit messy.
On 05-03-2013 08:30, alvaro miranda wrote:
> This the iptables setup from LXC in OL6.4 channel
>
> [root@ol6hostlxc ~]# cat /etc/sys
This the iptables setup from LXC in OL6.4 channel
[root@ol6hostlxc ~]# cat /etc/sysconfig/iptables
# Generated by iptables-save v1.4.7 on Tue Mar 5 21:27:37 2013
*nat
:PREROUTING ACCEPT [33:5486]
:INPUT ACCEPT [33:5486]
:OUTPUT ACCEPT [2:144]
:POSTROUTING ACCEPT [2:144]
-A POSTROUTING -s 192.168.
On Mon, 04 Mar 2013 15:35:06 -0600
"cbul...@gmail.com" wrote:
> Hi All,
>
>
> We have a host server running Oracle Linux
> (2.6.39-200.24.1.el6uek.x86_64) and We created a Oracle Linux 6.2
> container following Oracle's Docs
> (http://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_os_contai