Setting up OpenVZ Containers for NAT [message #50703] |
Tue, 15 October 2013 23:26 |
alex4108
Messages: 1 Registered: October 2013
|
Junior Member |
|
|
I tried reading the wiki article posted at OpenVZ.org (I can't post the link), however I'm getting no luck.
I have a freshly installed CentOS 6.4 machine, with a brand new copy of OpenVZ (straight from the repo via yum) installed. I tried following the wiki article's instructions on setting up SNAT and DNAT for the containers, but alas, I have no luck.
I can ping into the container from the host (ping 10.0.2.2) and it replies
However pinging from the container to the host (or anywhere else) doesn't get a reply.
(For reference)
My network setup:
WAN
--->
NAT Router (10.0.1.1) --->
My Computer (10.0.1.3), Host machine (10.0.1.2) --->
OVZ Containers (10.0.2.1-10.0.2.254)
Please let me know what I can do!
|
|
|