Subject: Re: [vserver] Network confusion
From: Phil Daws <uxbod@splatnix.net>
Date: Mon, 11 Mar 2013 15:31:19 +0000 (GMT)

----- Original Message -----
From: "Sergiusz Pawlowicz" <sergiusz@pawlowicz.name>
To: vserver@list.linux-vserver.org
Sent: Monday, 11 March, 2013 3:14:39 PM
Subject: Re: [vserver] Network confusion

# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

?

s.


The problem though is that the internal DNS is on a private IP and therefore requires
the use of views.  I did consider doing something like:

-I PREROUTING 1  -j INTI ! -d 192.168.1.0/24
-I POSTROUTING 1 -j INTO ! -s 192.168.1.0/24

so then it would not break inter guest communications.  I hoped by putting the vserver
guests into a vlan it would stop natting taking place.

Back to the drawing board :(

Thanks.