OpenVZ Forum


Home » General » Support » (Solved) Isolation of nodes from each other .....
Re: Isolation of nodes from each other ..... [message #35369 is a reply to message #35367] Thu, 19 March 2009 14:21 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I meant iptables rules on the HN. Sorry I'm busy to test below examples...

Drop VE->HN traffic with
iptables -A INPUT -s x.x.x.x/nn -d y.y.y.y -j DROP

where x.x.x.x/nn is a network from which you allocate IPs for contaners, and y.y.y.y is HN IP.

Drop VE->VE traffic with
iptables -A FORWARD -s x.x.x.x/nn -d x.x.x.x/nn -j DROP

where x.x.x.x/nn is a network from which you allocate IPs for contaners


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kernel Panic with Server Dual Quad Xeon E54xx
Next Topic: Stupid Template Question
Goto Forum:
  


Current Time: Fri Sep 13 07:15:07 GMT 2024

Total time taken to generate the page: 0.05098 seconds