OpenVZ Forum


Home » General » Support » *SOLVED* NAT/MASQUERADING inside VZ
Re: *SOLVED* NAT/MASQUERADING inside VZ [message #42693 is a reply to message #4852] Thu, 12 May 2011 03:07 Go to previous messageGo to previous message
mad4solusvm is currently offline  mad4solusvm
Messages: 7
Registered: May 2011
Location: UK
Junior Member
I am trying to get NAT to work inside my CentOS node.

I have the following installed

CentOS 5.6
SolusVM (Latest Stable Release)
OpenVZ Kernel (2.6.18-238.9.1.el5.028stab089.1)
2 x NIC's

Ok here goes, i have 2 sets of IP's set inside the node a set of private / local IP's and a block of external IP's. Im trying to issue my VPS containers with private IP addresses issued by the router using NAT, However dispite the fact i can see the private ip's in the routers ARP Table. i carnt get to the servers using thier assigned private IP's. however if i assign one of the external IP's i can get to the server just fine.

Just for the record, I've checked the /etc/vz/vz.conf file on the node in question for the iptable_nat parameter and can report back that it is in there.

Does anyone have any ideas why i can not do this? and also how i can fix it?, if at all possible.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzctl restore: Error: undump failed: File exists
Next Topic: Infiniband Support
Goto Forum:
  


Current Time: Thu Oct 09 21:41:02 GMT 2025

Total time taken to generate the page: 0.08352 seconds