Re: [Vserver] having a routing problem from guests

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 03 Oct 2006 - 16:42:21 BST
Message-ID: <20061003154221.GA23747@MAIL.13thfloor.at>

On Mon, Oct 02, 2006 at 11:46:32AM -0400, Chuck wrote:
> On Monday 02 October 2006 10:18, Herbert Poetzl wrote:
>
> oops... forgot.. ok so then i would add the statements below with proper ip
> for each of the 4 interfaces?

yep

best,
Herbert

> > add a masquerading/snat rule for each 'outgoing' packet
> > on a specific interface, like this:
> >
> >  iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
> >  iptables -t nat -I OUTPUT -o eth0 -j SNAT --to-source 64.113.32.2
> >
>
> --
>
> Chuck
>
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Oct 3 16:43:17 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 03 Oct 2006 - 16:43:22 BST by hypermail 2.1.8