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
--
Horms
|