GroupBrowser  




Go Back   GroupBrowser > Novell Newsgroups > Border Manager > Border Manager Network Address Translation
User Name
Password
 
 
Thread Tools Search this Thread Display Modes

Problem with FTP server behind BM NAT
Old 10-02-2007, 04:42 PM #1
Earl
Guest
 
Status:
Posts: n/a
Default Problem with FTP server behind BM NAT

We are having an issue with our FTP site, which is located behind a
BorderManager firewall using NAT.

A few users, but certainly not all users, receive this error when trying
to access our FTP server.

Error: Connection timed out
Error: Failed to retrieve directory listing

Most users connect just fine. No errors.

I have tried to connect from home to our FTP server. No problem. But, if
I connect to the FTP server through our Guest DMZ that provides internet
access to guests in our building via a Cisco Pix, I also get the error
messages. Strange thing is... when the error occurs, the FTP server
seems to be answering the FTP commands by providing the PRIVATE IP address
and not the PUBLIC IP address. Thus, the traffic is dropped at the
firewall. The FTP server accepts the password and the login name, but
fails when trying to provide the directory listing of the FTP site to the
client.

I have Static and Dynamic Mode turned on for NAT.

Any ideas what would cause this ?

The FTP server is not the same server as the BorderManager server.


  Reply With Quote

Re: Problem with FTP server behind BM NAT
Old 10-02-2007, 04:49 PM #2
Earl
Guest
 
Status:
Posts: n/a
Default Re: Problem with FTP server behind BM NAT

Here is a sample of a failed connection.

10.x.x.x is the private IP of our FTP server (manually masked out)

Status: Connecting to 12.x.x.x ...
Status: Connected with 12.x.x.x. Waiting for welcome message...
Response: 220 Service Ready for new User
Command: USER greenman
Response: 331 Password Needed for Login
Command: PASS *************
Response: 230 User greensman Logged in Successfully
Command: SYST
Response: 215 NETWARE Type: L8
Command: FEAT
Response: 500 'FEAT' : Unknown Command
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is Current Directory
Command: TYPE A
Response: 200 TYPE Command OK A
Command: PASV
Response: 227 Entering Passive Mode (10,x,x,x,6,34)
Command: LIST
Response: 150 Opening data connection for (10.x.x.x,1570)

Here is a log of a working connection:


Response: 220 Service Ready for new User
Command: USER greenman
Response: 331 Password Needed for Login
Command: PASS *************
Response: 230 User greensman Logged in Successfully
Command: SYST
Response: 215 NETWARE Type: L8
Command: FEAT
Response: 500 'FEAT' : Unknown Command
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is Current Directory
Command: TYPE A
Response: 200 TYPE Command OK A
Command: PORT 192,168,x,x,5,112
Response: 200 PORT Command OK
Command: LIST
Response: 150 Opening data connection for (24.255.xx.xx,41346)
Response: 226 Transfer Complete
Status: Directory listing successful



  Reply With Quote

Re: Problem with FTP server behind BM NAT
Old 10-03-2007, 04:30 AM #3
mysterious
Guest
 
Status:
Posts: n/a
Default Re: Problem with FTP server behind BM NAT

Earl wrote:
> We are having an issue with our FTP site, which is located behind a
> BorderManager firewall using NAT.
>
> A few users, but certainly not all users, receive this error when trying
> to access our FTP server.
>
> Error: Connection timed out
> Error: Failed to retrieve directory listing
>
> Most users connect just fine. No errors.
>
> I have tried to connect from home to our FTP server. No problem. But,
> if I connect to the FTP server through our Guest DMZ that provides
> internet access to guests in our building via a Cisco Pix, I also get
> the error messages. Strange thing is... when the error occurs, the FTP
> server seems to be answering the FTP commands by providing the PRIVATE
> IP address and not the PUBLIC IP address. Thus, the traffic is dropped
> at the firewall. The FTP server accepts the password and the login
> name, but fails when trying to provide the directory listing of the FTP
> site to the client.
>
> I have Static and Dynamic Mode turned on for NAT.
>
> Any ideas what would cause this ?
>
> The FTP server is not the same server as the BorderManager server.
>
>


This is working properly. A ftp server behind nat should work in
active (port) mode only, otherwise it will use the private ip instead of
the public ip. Tid10013814, so configure the ftp server to work only in
PORT mode. Your log file shows that.
and http://www.slacksite.com/other/ftp.html to understand the
differences between both modes

gonzalo
  Reply With Quote
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes





Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump




Adobe Newsgroups | Software Newsgroups


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2003-2004 All Rights Reserved GroupBrowser LLC.