From: Mohamed Eldesoky <eldesoky.lists@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: FTP server behind a load balancer
Date: Sun, 7 Nov 2004 10:12:55 +0200 [thread overview]
Message-ID: <1403218a041107001226656b10@mail.gmail.com> (raw)
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
reply other threads:[~2004-11-07 8:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403218a041107001226656b10@mail.gmail.com \
--to=eldesoky.lists@gmail.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox