[Users] Re: Access to private and public IP in VPS

Frederik freggy at gmail.com
Wed Nov 14 03:18:36 EST 2007


On Tue, 13 Nov 2007 17:00:11 -0800, E Frank Ball III wrote:

> On Tue, Nov 13, 2007 at 02:54:30PM +0000, Frederik wrote:
>  > I have a hardware node with two network interfaces, one with a public
>  > IP address, one with a private IP address. Now I would like a VPS to
>  > also have a public IP address and a private IP address so both
>  > networks can be accessed directly. How should this be configured? Is
>  > it possible without using veth interfaces?
> 
> 
> I have a hardware node with two network interfaces, one with a public IP
> address, one with a private IP address.  My VEs just have a private IP
> address.  The firewall on the hardware node can route things so that the
> VE can access both networks.  I use shorewall to setup my firewall and
> it's pretty easy.

The problem when doing it like this, is that you probably have to do DNAT 
on your HN to access a VE from the outside, isn't it? That's something I 
want to avoid.

-- 
Frederik



More information about the Users mailing list