Hi,
I have now create my own container with a Debian etch template. My problem is that the communication with ssh doesn’t work. My root server has only one public IP “217.172.182.14” and my OpenVZ container the “192.168.172.50” what in the configuration was added. I have add some rules into my IPtable script
iptables -A INPUT -p tcp --dport 10122 -j AKZEPTIEREN
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -A PREROUTING -d 217.172.182.14 -i eth0 -p tcp --dport 10122 -j DNAT --to-destination 192.168.172.50:22
But the Connection fails when I try to connect the “217.172.182.14:10122”. Are there some other necessary steps after the standard installation (like http://www.howtoforge.de/howto/installation-und-gebrauch-von -openvz-auf-debian-etch/) to make a connection with NAT possible ?
I would be very pleased for further information.
Regards Alfonso