* FTP server behind a load balancer
@ 2004-11-07 8:12 Mohamed Eldesoky
0 siblings, 0 replies; only message in thread
From: Mohamed Eldesoky @ 2004-11-07 8:12 UTC (permalink / raw)
To: netfilter
Dear all,
I have two FTP servers behind a load balancer.
Furthermore, those FTP servers, listen on both ports 21, 45 (for some reasons)
I am not using NAT, they have public IPs.
When the client connects from the outside world, to port 21, passive
FTP works fine.
When the client connects to port 45, it doesn't work !!
I did modprobe ipt_conntrack_ftp ports=21,45
But during debugging I noticed something, when working with port 21,
the response of the passive FTP, it returns with the loadbalancer IP
(The IP the client has talked to in the first place), but when talking
to port 45, it returns with the server IP address (The real IP of the
server, not the load balancer), and this causes IPTables to think it
is a new connection, to a random IP.
Should ipt_conntrack_ftp track only the ports, or also the ports and
IPs returned in the response of the FTP server ??
Any clue ?
--
Mohamed Eldesoky
www.eldesoky.net
RHCE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-07 8:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-07 8:12 FTP server behind a load balancer Mohamed Eldesoky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox