Hi all,
I want to install a Zentyal in a openvz container on Proxmox. I have yet installed zentyal, and it is running. But I have some problems just now,
I want use zentyal to forwarding routes to others virtuals machines, port 8080 to a web server virtual machine, and others...
Now, all it is running but I can not do port forwarding to port 8080 on other VM.
And other things, I can not add this rule to iptables:
iptables -t nat -A POSTROUTING -j MASQUERADE
I get this error message: iptables: No chain/target/match by that name.
network configuration in zentyal:
#VLAN internal
iface eth0 inet static
address 10.30.X.120
netmask 255.255.255.0
broadcast 10.30.X.255
gateway 10.30.X.1
#VLAN external
iface eth1 inet static
address 10.90.X.33
netmask 255.255.255.248
broadcast 10.90.X.39
RoutesKernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.90.X.32 * 255.255.255.248 U 0 0 0 eth1
10.30.X.0 * 255.255.255.0 U 0 0 0 eth0
default 10.90.X.38 0.0.0.0 UG 0 0 0 eth1
IPTABLES
iptables -t nat -L -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
premodules all -- 0.0.0.0/0 0.0.0.0/0
DNAT udp -- 0.0.0.0/0 10.90.X.33 udp dpt:8080 to:10.30.X.55:8080
DNAT tcp -- 0.0.0.0/0 10.90.X.33 tcp dpt:8080 to:10.30.X.55:8080
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
postmodules all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain postmodules (1 references)
target prot opt source destination
Chain premodules (1 references)
target prot opt source destination
With this configuration I try to access web server hosted in 10.30.X.222 but it dont run...