LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs mail server

To: "LinuxVirtualServer.org " "users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs mail server
From: Lawrence Strydom <laurie@xxxxxxxxxxxxx>
Date: 10 Jun 2003 13:41:01 -0700
Thanks Horms,
It's working


On Tue, 2003-06-10 at 01:19, Horms wrote:
> On Tue, Jun 10, 2003 at 08:32:39AM -0700, Lawrence Strydom wrote:
> > Hello list,
> > I have set up a LVS NAT as web server and wish to add a cgi script,
> > which is suposed to contact my mailserver (outside of the cluster), to
> > one of the web pages. 
> > The script has been tested and works fine on other web servers but
> > doesn't seem to work on the LVS. 
> > Obviously I need to allow connections to be initiated by the realservers
> > to the internet, but how?
> 
> That does of course depend on just how your network is
> set up. But probably the easiest way is to add
> a MASQURADE rule to the iptables set up on your Linux Director.
> 
> Something along the lines of
> 
> /sbin/iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.6.0/24
-- 
==========================================================================
Lawrence Strydom

Independant Consultant

RPC DATA / MidAfrica Software                  

Tel:+27 21 402 1180
Fax:+27 21 421 0882
Mobile: 27 833809341
==========================================================================





<Prev in Thread] Current Thread [Next in Thread>