LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Can you change the destination port in DR mode ?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Can you change the destination port in DR mode ?
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 19 May 2004 11:35:42 +0900
On Tue, May 18, 2004 at 05:35:26PM +0100, Malcolm Turnbull wrote:
> 
> I'll try it myself anyway but just wanted to know if anyone knew allready.
> 
> i.e. can the load balancer listen on VIP:80 & 443
> but send all packets to port 443 ?

LVS-DR cannot do this. LVS-NAT can.

> Can it be done with an iptables rule ?

Probably not, as how would you rewrite the return packets when
you are using LVS-DR? In a nutshell what you are after is to
map port 80 to port 443. This is a form of NAT really. So LVS-NAT
is really your best bet.

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