LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ip_masq_ftp nat passive

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: ip_masq_ftp nat passive
From: Jeremy Kusnetz <JKusnetz@xxxxxxxx>
Date: Wed, 23 May 2001 13:57:36 -0400
I am having problems with passive mode FTP under kernel 2.2.16 using
LVS-NAT.

When in passive mode the ftp server returns the RIP, not the VIP, and
clients from the outside cannot see the RIP.

I've loaded ip_masq_ftp.  I saw a post about running `/sbin/modprobe
ip_masq_ftp in_ports=21`, but in_ports comes back as an invalid parameter,
instead I tried `/sbin/modprobe ip_masq_ftp ports=21` which loads okay, but
doesn't fix my problem.

Doing an lsmod, shows me that when people ftp in, that the module is being
used.

Here is how I'm starting lvs for ftp.
ipvsadm -A -t 216.xxx.xxx.xxx:ftp -s wlc -p 540
ipvsadm -a -t 216.xxx.xxx.xxx:ftp -R 10.75.0.9:ftp -w 5 -m
ipvsadm -a -t 216.xxx.xxx.xxx:ftp -R 10.75.32.9:ftp -w 5 -m
ipvsadm -a -t 216.xxx.xxx.xxx:ftp -R 10.75.64.9:ftp -w 5 -m


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