all groups > iis ftp > may 2006 >
You're in the

iis ftp

group:

FTP Login Issues


FTP Login Issues Tom Bombadill
5/23/2006 5:21:10 PM
iis ftp:
Hi guys,

I have setup FTP on a new 03 box. I have left the "Allow anonymous logins"
as enabled. I'm able to connect to it while within the network. It does not
prompt for a userID and password. It connects me right to the FTP root
folder.

On the firewall, I have allowed the FTP service rule for incoming traffic,
and forwarded it to the IP address of the same machine.

However, when I try to connect from the Internet, I get the Log On As window
and "Either the server does not allow anonymous logins or the e-mail address
was not accepted." error message. I click on the Log On Anonymously check
box and it still doesn't let me thru. I put in a valid Domain
Username/Password, I get a "Could not login to the FTP server with user name
and password specified.". I take away the Anonymous Login policy on the FTP
site, nothing doing.

I try using the FTP IP_ADDR command. I get code "530 Access denied".

What am I missing here people?

Any help is appreciated!

Re: FTP Login Issues Robin Walker [MVP]
5/24/2006 10:23:04 AM
[quoted text, click to view]

What firewall are you referring to?
FTP is not that easy, because of the separate connection for data transfers.
Exactly what have you specified in the firewall?
What allowance in the firewall have you made for passive-mode data
connections?
What configuration in the server have you made for passive-mode data
connection port ranges?
Is the firewall also doing NAT? Is the actual internal IP address of the
FTP server the same as the one you use from the external internaet?
Which port number is the FTP server listening on for control connections?

[quoted text, click to view]

You appear to be using some third-party FTP client (which one?), which is
concealing from you the actual FTP protocol exchanges. Please use a
line-mode client or one which displays the FTP protocol exchanges, and post
the actual FTP exchanges and error messages here.

Can you be sure that you are actually connecting from the outside world to
the correct internal FTP server rather than some other one?

--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk

Re: FTP Login Issues Tom Bombadill
5/24/2006 11:20:36 AM
Hi Robin,

Thanks much for you're reply.

[quoted text, click to view]

It's the firewall device that separates our network from the Internet, as
opposed to SW firewall on each machine. It's a Watchguard Firebox Edge 15.
It's very decent.

[quoted text, click to view]

I have only 'Allowed' the FTP rule for incoming traffic. And I have
specified the IP address of the FTP Server for this rule. Nothing else. I
believe that's pretty standard port forwarding procedure. I have done a
similar thing before for VPN connections to an internal server, and it
worked fine.

[quoted text, click to view]

None! Did not know any was required! Did not see any settings for
Passive-mode data connections and I'm not familiar with that concept.

[quoted text, click to view]

Same as above!

[quoted text, click to view]

Yes, the firewall does function as a NAT. So there's a range of private IP
addresses used inside our network, and 1 public IP address used by the
external interface of the Firewall/Router. The FTP server of course has a
static private IP address. So when I want to access the FTP server from the
Internet, I use the external IP address, and expect it to be forwarded to
the FTP server specified on the Firewall.

[quoted text, click to view]

I tried specifying a port number after the IP address (:21). But when I
submitted the change it automatically reverted back to the IP only. Please
keep in mind that this is an existing rule. I only 'Allowed' it and
specified the IP address. So I think it should be hitting the right port
number.

[quoted text, click to view]

I'm using IE 6.0 as my client. What I do is I insert the external IP address
of the firewall in the IE address bar as follows: eg ftp://157.16.218.12. I
don't get any additional error messages beside the ones I have posted. If by
line mode you mean using the FTP command from the command prompt, I enter
the exact same line as above. At first, I get code 220 showing it has
connected to the firewall. It then asks for my Username/Password. When
entered, it displays code 530 Access denied.

[quoted text, click to view]

Considering the above, how do I verify that? I'm pretty sure that the IP
address specified on the firewall is correct. I'm also pretty sure the FTP
service works properly when connected from the inside.

Thanks again for your help,





Re: FTP Login Issues Robin Walker [MVP]
5/24/2006 9:26:30 PM
[quoted text, click to view]

Normally, running an FTP server behind a NAT router is a major headache,
because:
- there are two TCP connections, one for control on a known port, and one
for data on an unpredicatble port number;
- the control channel carries IP addresses, which NAT can invalidate.

However, the Watchguard firewall seems to be an FTP-aware unit, that runs an
FTP proxy to re-write some of the control commands, so you might not need to
worry about some of these difficulties.

[quoted text, click to view]

I don't think that IIS-FTP ever says "530 Access denied", so I conclude that
you have an issue with the Watchguard, which might need further
configuration to permit your connections.

--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk

Re: FTP Login Issues Bernard Cheah [MVP]
5/25/2006 1:15:02 PM
do another simple test.

from remote machine, use ftp.exe to connect

c:\>ftp.exe youriisftpserverip

post the output here.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button