LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS as a NAT Router

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS as a NAT Router
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 21 May 2004 12:42:43 +0900
On Fri, Apr 23, 2004 at 05:19:07PM -0300, Lucas wrote:
> Is it possible use the cluster as a NAT Router?
> What I'm saying is: I got a private LAN and I want to share my internet
> connection, doing NAT and Firewall and QoS. The real servers are actually
> routers and dont serve any service. Is there a way to use the VIP as the
> private LAN gateway or to pass the traffic through the director to the "real
> servers (real routers)" even when is not destined to a specific port in the
> server?
> 
> If its not possible, does anyone knnonw a project that can use a cluster as
> a NAT Router?

I think that should work, as long as you are only wanting to route IPv4
TCP, UDP and related ICMP.  You probably want to use a fwmark virtual
service so that you can forward all ports to the real servers (routers).

That said I haven't tried it, so I can't be sure.

-- 
Horms
<Prev in Thread] Current Thread [Next in Thread>
  • Re: LVS as a NAT Router, Horms <=