LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-NAT: configure emergency http server on director

To: Alois Treindl <alois@xxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS-NAT: configure emergency http server on director
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 30 May 2001 12:15:07 -0400
Alois Treindl wrote:
> 
> On Wed, 30 May 2001, Joseph Mack wrote:
> 
> > howabout running on the director
> >
> > $ipchains -A input -j REDIRECT 80 -d VIP 81 -p tcp
> >
> Thanks, I had hoped for a suggestion like this.
> Question: Does this also take care of the return packets, or
> how do I handle those?


This will deliver packets to VIP:81. Your httpd running
on the director listening to VIP:81 will handle the
requests and put the replies back out on the net.
There they'll be handled by the director's routing table
(netstat -rn).

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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