OpenVZ Forum


Home » General » Support » Zentyal on Proxmox (openvz) (Iptables problems and configuration routes)
Zentyal on Proxmox (openvz) [message #42790] Sat, 28 May 2011 10:38 Go to next message
pablov2 is currently offline  pablov2
Messages: 7
Registered: May 2011
Junior Member
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



Routes
Kernel 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...
Re: Zentyal on Proxmox (openvz) [message #42837 is a reply to message #42790] Sat, 04 June 2011 17:28 Go to previous message
pablov2 is currently offline  pablov2
Messages: 7
Registered: May 2011
Junior Member
I have solved it by myself

I give you my blog link where I have posted all the steps and links to solve it.

cactus.enreda.coop/zentyal-como-servidor-vpn-en-proxmox-como -openvz



Bye.
Previous Topic: Fedora 15 broken Unable to open pty: No such file or directory
Next Topic: enter failed: unable to exec sh: No such file or directory
Goto Forum:
  


Current Time: Sun Jul 27 16:04:41 GMT 2025

Total time taken to generate the page: 0.43105 seconds