OpenVZ Forum


Home » Mailing lists » Users » OpenVPN, IPTables, NAT Issues with UDP Translation after IP Change
Re: OpenVPN, IPTables, NAT Issues with UDP Translation after IP Change [message #43497 is a reply to message #43484] Fri, 16 September 2011 14:44 Go to previous messageGo to previous message
samiam is currently offline  samiam
Messages: 15
Registered: July 2011
Junior Member

>
> I have a Debian host running multiple VEs and seeing trouble with udp
> translations (masq or snat) when the interface ip of ppp0 changes.
>
>
I didn't have time to read you entire message, but in my experience,
OpenVZ's containers lose their network connectivity if anything happens to
the host's IP. To work around this, I have a script that does this to all
running containers:

vzctl set ${NUMBER} --ipdel ${IP_OF_CONTAINER}
vzctl set ${NUMBER} --ipadd ${IP_OF_CONTAINER}

This resolves these kinds of issues:

- Sam
 
Read Message
Read Message
Read Message
Previous Topic: yum: [Errno -3] Error performing checksum
Next Topic: How to register socket protocol to CT if I have my own kernel module???
Goto Forum:
  


Current Time: Fri Oct 18 18:54:11 GMT 2024

Total time taken to generate the page: 0.05757 seconds