Re: FTP load balancing?

From: Willy Tarreau <w#1wt.eu>
Date: Thu, 22 May 2008 16:30:01 +0200


On Thu, May 22, 2008 at 04:27:51PM +0200, Alberto Giménez wrote:
> On Thu, May 22, 2008 at 2:03 PM, Willy Tarreau <w#1wt.eu> wrote:
> >
> >> the iptables command I'm trying is:
> >> iptables -t nat -A POSTROUTING -p tcp -s FTP_SERVER:20 -d 0.0.0.0 -j
> >> SNAT --to-source VIRTUAL_HAPROXY_IP:20
> >>
> >> Is that correct?
> >
> > yes, it is correct. Check with tcpdump on the haproxy machine.
>
> Hi, I tcpdumped, but client still wants to connect directly with the FTP server.
> It looks like the rule is not being used at all. Any other idea?

that means you're doing passive FTP if the client wants to connect to the server.

Willy Received on 2008/05/22 16:30

This archive was generated by hypermail 2.2.0 : 2008/05/22 16:45 CEST