John Murtari Guest
|
Posted: Tue Nov 11, 2008 2:41 am Post subject: Anonymous FTP with multiple domains, but one IP? |
|
|
Folks,
We're running wu-ftpd on RHEL 4 and have a block
of domains that presently each have an assigned IP address.
In our /etc/ftpaccess we have "virtual" blocks set up for
each of them so each can do anonymous ftp to:
ftp.a.com
ftp.b.com
ftp.c.com -- and get a private upload directory,etc...
We'd really like to consolidate these IP addresses
and just assign ONE IP to all the anonymous connections.
From what I've read it looks like it's just not possible to
do 'easily' since ftpd can't distinguish on who is connecting
and that makes sense.
Has anyone developed a reasonable work around, i.e.
maybe assigning a unique port number to be used by each
domain when it connects? Thanks for any suggestions!
--
John
____________________________________________________________________
Customer Service Software Workshop Inc.
johnm@thebook.com "software that fits!" (TM)
Toll Free (877) 635-1968(x-211) http://www.thebook.com/ |
|
Chris Davies Guest
|
Posted: Tue Nov 11, 2008 3:33 am Post subject: Re: Anonymous FTP with multiple domains, but one IP? |
|
|
John Murtari <jmurtari@thebook.com> wrote:
| Quote: | We're running wu-ftpd on RHEL 4 and have a block
of domains that presently each have an assigned IP address.
We'd really like to consolidate these IP addresses
and just assign ONE IP to all the anonymous connections.
|
As you have discovered, you can't do that
| Quote: | Has anyone developed a reasonable work around, i.e.
maybe assigning a unique port number to be used by each
domain when it connects? Thanks for any suggestions!
|
Many FTP clients will allow you to select a different port for the
connection, but it's not nearly as common as running, say, HTTP on
different ports. If you really need ftp.a.com and ftp.b.com and they are
significantly different then there isn't really anything for it but to
run them on different IP addresses.
If a, b, and c are related sites/domains then you might consider different
directories for a, b, c within some ftp.x.com. I know that vs-ftpd can
perform per-user chroot; I don't know about wu-ftpd.
Chris |
|