LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: port translation in lvs

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: port translation in lvs
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Thu, 04 Mar 2004 16:07:43 -0500
Francois JEANMOUGIN wrote:

> Well, if you need to keep DR or Tun LVS, just use :
> 
> /sbin/iptables -t nat -A PREROUTING -d VIP -p tcp -m tcp --dport 80 -j DNAT 
> --to-destination VIP:9999
> 
> on the realserver. It works for me for tomcat standalone servers.

does this rewrite the packets in the reverse direction too?

Joe


-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>