Re: Encrypted FTP through a ASA



In article <4633a9bc$0$90274$14726298@xxxxxxxxxxxxxxx>,
M <ujjj@xxxxxxxxxxxxx> writes:
I have an internal FTP server on 192.168.1.2. It is configurated to use
SSL. It works fine on the internal local network but not from the outside.
My passive port range is: 2048 --> 3000

What am I missing in my configuration?

Nothing probably, it simply can't work (unless the NAT router performs
a nasty man-in-the-middle attack on the SSL connection).

An FTP server accepting a passive connection will open a TCP listener
port and tell the FTP client the IP address and port number. If the
FTP server is behind a NAT router this can't work because it will
tell the FTP client its internal IP address and local port number.
The NAT router must therefore understand the FTP protocol, create
a NAT mapping and rewrite the IP address and port number. That
NAT mapping will allow the FTP client to actually connect to
the FTP server.

In your setup the FTP connection is encrypted. The NAT router can
therefore not inspect it and not rewrite the IP address and port number.
The FTP client will therefore try to connect to 192.168.1.2 which
won't work.

Kind regards

--
Matthias Scheler http://zhadum.org.uk/
.



Relevant Pages

  • Re: Internet Explorer Keeps Timing out on FTP
    ... > This is a problem with the FTP client. ... When the PORT command is used, the FTP client is asking the FTP server to ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: ftp through firewall
    ... > I now wish to use an ftp client, ... > port 21 for this purpose. ... > high-numbered local port and port 21 on the remote ftp server has been ...
    (comp.security.firewalls)
  • ftp through firewall
    ... I now wish to use an ftp client, ... port 21 for this purpose. ... high-numbered local port and port 21 on the remote ftp server has been ...
    (comp.security.firewalls)
  • Re: RMF Spreadsheet Reporter
    ... >PORT statement below do not match my target FTP server.. ... The IP address in the PORT command is the IP address of the FTP *client* ... The FTP client has opened a socket on port 6190 in the ...
    (bit.listserv.ibm-main)
  • Re: Uggh:Linksys router, Windows 2003 server, Passive FTP connection problems HELP?
    ... what about other ftp client app? ... what's your ftp binding port? ... >>>router as well for surfing the net. ... >>>can access the FTP site through an FTP client like cute ftp, ...
    (microsoft.public.inetserver.iis.ftp)