Re: FTP load balancing?

From: Alberto Giménez <lagimenez#gmail.com>
Date: Thu, 22 May 2008 16:27:51 +0200


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?

Thanks in advance.

-- 
Alberto Giménez
Received on 2008/05/22 16:27

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