LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: LVS_DR with FTPs:

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: LVS_DR with FTPs:
From: "Manning, Mark E" <MManning@xxxxxxxxxxxxxxxxx>
Date: Thu, 14 Sep 2006 13:10:43 -0700


Your suggestion to adjust my IPtables to accept New connections on port 21
and make the other ports 20 and 24000:24020 in my case RELATED worked.
ThankYou Very much
Mark Manning


-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Joseph Mack
NA3T
Sent: Tuesday, September 12, 2006 4:34 PM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: LVS_DR with FTPs:

On Tue, 12 Sep 2006, Manning, Mark E wrote:

> I have been successful in load balancing ftp using the vsFTPd Server and
> LVS_DR.
>
> When I configure my Realservers to use TLS keys I can log 
> in securely but I believe the negotiation of the data 
> connection is hanging my ftp clients. Is there an LVS_DR 
> configuration procedure for setting up load balanced
> FTPs.

yes, see the HOWTO. ftp being a two port protocol is a 
little more difficult than the standard single port LVS 
connection.

You haven't got the 2nd port LVS'ed.


> Passive FTP is set up in IPtables to be forwarded using FW Mark, I have
also
> included ports 20 and 21 in the mark'd group.

You should just accept port=ftp and the other ports are 
accepted uing "RELATED"

Read the HOWTO on LVS.

are you using fwmark for ftp with ipvsadm? (you don't need 
to)

Are the port 20 (or passive ftp) port calls getting back to 
the client from the realserver?

> FTPs works properly when using the Realservers RIP, it fails when using
the
> VIP of the cluster.

above you say it fails for TLS

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

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